Last modified: 2013-09-17 12:50:01 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 T56177, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54177 - SpecialFilepath doesn't redirect
SpecialFilepath doesn't redirect
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.22.0
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-16 19:22 UTC by Sam Reed (reedy)
Modified: 2013-09-17 12:50 UTC (History)
0 users

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


Attachments

Description Sam Reed (reedy) 2013-09-16 19:22:02 UTC
Seems to be a few of these happening...

2013-09-16 19:18:45 mw1038 commonswiki: [a54d4a80] /w/index.php?title=Special:FilePath&file=B%26amp%3BW%20Happiness.jpg&width=180   Exception from line 1144 of /usr/local/apache/common-local/php-1.22wmf17/includes/SpecialPage.php: RedirectSpecialPage SpecialFilepath doesn't redirect!
#0 /usr/local/apache/common-local/php-1.22wmf17/includes/SpecialPage.php(631): RedirectSpecialPage->execute(NULL)
#1 /usr/local/apache/common-local/php-1.22wmf17/includes/SpecialPageFactory.php(489): SpecialPage->run(NULL)
#2 /usr/local/apache/common-local/php-1.22wmf17/includes/Wiki.php(291): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#3 /usr/local/apache/common-local/php-1.22wmf17/includes/Wiki.php(590): MediaWiki->performRequest()
#4 /usr/local/apache/common-local/php-1.22wmf17/includes/Wiki.php(459): MediaWiki->main()
#5 /usr/local/apache/common-local/php-1.22wmf17/index.php(55): MediaWiki->run()
#6 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#7 {main}
Comment 1 Brion Vibber 2013-09-16 19:28:44 UTC
B%26amp%3BW%20Happiness.jpg decodes to "B&W Happiness.jpg" which is not a valid title because of the "&"

Something'll be crapping out early probably because of this.

wrong URL fails: https://commons.wikimedia.org/w/index.php?title=Special:FilePath&file=B%26amp%3BW%20Happiness.jpg&width=180

correct URL works: https://commons.wikimedia.org/w/index.php?title=Special:FilePath&file=B%26W%20Happiness.jpg&width=180

So, it seems like a failure in the error reporting?

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


Navigation
Links