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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11813, the corresponding Phabricator task for complete and up-to-date bug report information.
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