https://bugzilla.wikimedia.org/show_bug.cgi?id=52010

       Web browser: ---
            Bug ID: 52010
           Summary: Special:Prefixindex doesn't allow looking up prefixes
                    that are invalid titles (like '.')
           Product: MediaWiki
           Version: 1.22-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Special pages
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Split from bug 51308 comment 2.

Special:prefixindex doesn't allow searching for titles by a prefix that is an
invalid title (but still a valid prefix). The primary problem area involves
"relative directory" syntax. For example (not including quotes):
* '.'
* '..'
* 'Anything ending with/.'
* 'Anything ending with/..'

However all 4 of these can be valid prefixes of a title.

See SpecialAllpages::getNamespaceKeyAndText and Title::secureAndSplit. I guess
we shouldn't assume the prefix forms an actually valid title.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to