Last modified: 2013-09-04 11:48:19 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 T33440, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31440 - $wgAllowExternalImages does not like ":" and possibly some other special characters in URL.
$wgAllowExternalImages does not like ":" and possibly some other special char...
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.17.x
All Linux
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://clubcyberia.org/index.php/User...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-06 19:10 UTC by Jason Voyles
Modified: 2013-09-04 11:48 UTC (History)
2 users (show)

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


Attachments

Description Jason Voyles 2011-10-06 19:10:11 UTC
I found this while using Google to generate QR images for my User Pages. Not quite sure how to fix it yet just haven't had time to dig into it. It shows up as a URL Link instead of a Image on the page. 

To view the broken Results, Visit: http://clubcyberia.org/index.php/User:Reverse_Corruption

It's hard to put into words, The page best describes the results. 

This is also broken if there is a ":" in a image file local to the server. Not a very common problem, but kills my ability to use Google to generate QR images for users in my Club Cyberia Hacker Space. 

Thanks!
Comment 1 Bryan Tong Minh 2011-10-06 19:34:51 UTC
Does it work if you wrap the {{fullurl:}} magic word in an {{urlencode:}} call?
Comment 2 Jason Voyles 2011-10-07 03:54:07 UTC
Bingo. That is a very good workaround and appears to work for all instances I will need it. 
Not sure if I could call it "fixed" completely. It's a round-about not easy to find way of getting it to work. It may be a useful thing to add to documentation on $wgAllowExternalImages. 

I will leave it up to you developers to see if this should be closed out. At minimum I down graded the Importance to Enhancement.
Comment 3 Bryan Tong Minh 2011-10-07 18:06:24 UTC
$wgAllogExternalImages mostly assumes that urls contain no special characters. This is standard behaviour for handling urls, see <http://en.wikipedia.org/wiki/Urlencode#Percent-encoding_in_a_URI> for a list of unreserved characters.

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


Navigation
Links