Last modified: 2007-05-19 19:56:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 9813 - Creating an account which contains a '#' results in an account name truncated at #
Creating an account which contains a '#' results in an account name truncate...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
1.11.x
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-06 16:33 UTC by Raimond Spekking
Modified: 2007-05-19 19:56 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Raimond Spekking 2007-05-06 16:33:36 UTC
Case: Try to create an account which contains a '#': 'abc#efg'

The created account is 'abc' only, truncated silently at '#'.
Comment 1 Rob Church 2007-05-06 19:07:13 UTC
Well, "#" is not a valid character in page titles, and the fragment is removed
when the username undergoes title normalisation. Not sure what's the best method
to handle this; perhaps we could do a basic check that the username entered is
the same (for some metric of "the same") as the result from said normalisation.
Comment 2 Rob Church 2007-05-19 19:56:51 UTC
Added an explicit check in r22266. This won't affect existing accounts, because it's not possible to save a username into the database containing a hash; what this will do, however, is avoid confusion due to silent truncation of fragments during account creation.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links