Ticket #1003 (assigned task)

Opened 3 years ago

Last modified 2 years ago

IsWikiName() review

Reported by: DarTar Owned by: BrianKoontz
Priority: high Milestone: 1.4
Component: general Version: 1.2
Severity: normal Keywords:
Cc:

Description (last modified by BrianKoontz) (diff)

With the removal of the CamelCase requirement on pagenames and usernames (#191) and the full support of Unicode and spaces, we need to carefully review the use of IsWikiName() to make sure that we do not enforce constraints that have been removed in 1.3.

Examples include:

  • the clone handler;
  • the edit handler;
  • the newpage action;
  • the usersettings action;

The FormattingRules page should also be updated to match the new linking options as described in the docs.

Related tickets

Change History

  Changed 3 years ago by DarTar

(In [1701]) Urldecoding redirect session parameter (which renders encoded Unicode pagenames otherwise), refs#1003

  Changed 3 years ago by DarTar

  • description modified (diff)

  Changed 3 years ago by DarTar

  • description modified (diff)

follow-up: ↓ 7   Changed 3 years ago by DarTar

linebreaks and commas in usernames are likely to break ACL settings (both at config and page level)

  Changed 3 years ago by BrianKoontz

  • description modified (diff)

  Changed 3 years ago by BrianKoontz

Other than testing each of these handlers to ensure they work correctly with Unicode strings (which I've done), what else might I look for?

in reply to: ↑ 4   Changed 3 years ago by BrianKoontz

Replying to DarTar:

linebreaks and commas in usernames are likely to break ACL settings (both at config and page level)

Linebreaks should definitely be prohibited (in fact, all nonprintable chars from 0x00 through 0x1F). At this point, it would be easier to exclude commas from our regexp, and add it back later if the Wikka masses clamor for its return.

  Changed 3 years ago by BrianKoontz

  • owner set to BrianKoontz
  • status changed from new to assigned

  Changed 2 years ago by BrianKoontz

  • milestone changed from 1.3 to 1.4
Note: See TracTickets for help on using tickets.