Last modified: 2011-03-13 17:46:03 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 T28767, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26767 - System allows to create new page as few HTML character as the page name.
System allows to create new page as few HTML character as the page name.
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.18.x
All All
: Lowest major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-17 10:35 UTC by Nadeesha
Modified: 2011-03-13 17:46 UTC (History)
2 users (show)

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


Attachments
HTML character codes (108.60 KB, image/jpeg)
2011-01-17 10:35 UTC, Nadeesha
Details

Description Nadeesha 2011-01-17 10:35:18 UTC
Created attachment 7997 [details]
HTML character codes

Steps to reproduce:
1. Enter following HTML character codes to the 'Search' text box.
- &
- ¢
- £
- ¥
- €
- §
- ©
- ®

2. Click on the 'Go' button.


Actual results:
Pages can be created with the page name as the HTML result generated from the HTML character codes.
(Refer the screen shot)

Expected results:
System should display 'There were no results matching the query.' message.
Comment 1 Krinkle 2011-01-17 11:49:01 UTC
The suggestion to create the page is not wrong. What's wrong is that the character is not encoded through htmlentities()[0] since it should present a way to create [[¢]] instead of "[[¢]]".

Although this case also asks for a check to see if a title is a valid page title (since ";" is not allowed in page names) - so in this case it shouldn't ask for it to be created after all.

--
Krinkle


[0] The same way {{PAGENAME}} is encoded in html entities. See also: http://commons.wikimedia.org/?oldid=48378112#testhello
Comment 2 Bawolff (Brian Wolff) 2011-01-17 15:23:06 UTC
Note, ; is allowed, you just can't have &entity; in a page name. I think the current behaviour makes sense. if someone types abcdé into the search box, i think they should be prompted to create [[Abcdé]].
Comment 3 Mark A. Hershberger 2011-03-13 17:46:03 UTC
Changing all WONTFIX high priority bugs to lowest priority (no mail should be generated since I turned it off for this.)

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


Navigation
Links