Iframe Does Not Like Simple Quotes In Source Url

Bugs » #8


This section on the Community is no longer supported, in favour of Wikidot's Official Feedback Site.

It is retained here for archiving purposes.

Posted by gerdamigerdami on 06 May 2008 05:41, last edited on 09 May 2010 05:49

This bug has been fixed

Description

If a foreign url contains a special character such as a single quote, the wikidot parser stops evaluating the source url at the first single quote.
Example:

How to Reproduce

[[iframe http://wiki.answers.com/Q/What_is_a_'wiki' 
width="99%" height="250"]]

Browsers

Not browser dependent.

Has bug

Works correctly

Workarounds

Use special characters in the link adress:

instead of the simple quotes ( ' ) use the combination of (% + hex code of quotes )

http://wiki.answers.com/Q/What_is_a_%27wiki%27

gives:

http://wiki.answers.com/Q/What_is_a_%27wiki%27

Other hint:
if you get problems with such special characters you have to specify the url with the %-sign and the (hex!- equivalent of ansi) chacracter-code instead of such special characters.
Example: [*//http://en.wikipedia.org/wiki/Rogue_(computer_game) Rogue] will not work because of the "ending" brackets.

test: Rogue

If you detect such unusable characters than you should replace the character ")" with "%29"
(or opening bracket "(" with "%28")

[*http://en.wikipedia.org/wiki/Rogue_(computer_game%29 Rogue]

test: Rogue

Positiv: this workaround will work after the bug fix

Contact

gerdamigerdami. Please visit his/her userPage.

Rate this Bug

Rate the urgency of this bug. If you think it is more urgent and important than it's current rating suggests, rate it up.

rating: +1+x
Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.