Closed (duplicate)
Project:
Link
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2009 at 17:54 UTC
Updated:
27 Oct 2011 at 18:50 UTC
Jump to comment: Most recent file
Attached is a patch to allow exclamation marks in a URL. According to RFC 1738, it appears to be a valid character:
Thus, only alphanumerics, the special characters "$-_.+!*'(),", and reserved characters used for their reserved purposes may be used unencoded within a URL.
Example valid URL: http://www.cinemanow.com/Buy/Movies/1007,0,5,,1,2,0/1001,0,5,,1,2,335666...
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | link_exclamation_query.patch | 513 bytes | vgarvardt |
| allow-exclamation.patch | 591 bytes | joshuajabbour |
Comments
Comment #1
westbywest commentedBump.
I got caught with this bug in CCK link module v5.x-2.5.
Example valid URL with exclamation:
http://www.usda.gov/wps/portal/!ut/p/_s.7_0_A/7_0_2KD?contentidonly=true...
Comment #2
jcfiala commentedOkay, I've fixed this for the next release of 6.x - but will need to also fix it in 5, I see.
Thanks for the example urls, folks.
Comment #3
vgarvardt commentedIssue found in 6.x-2.6-beta1
Here is one more patch, to allow exclamation in query, to validate the following url: http://www.orbitz.com/App/PerformMDLPDealsContent?OSC=KPpjTzSlU0!-109580...
Comment #4
vgarvardt commentedAnd one more character that should be allowed in query is ^
Valid URL example is http://clk.tradedoubler.com/click?p=60261&a=1741603&g=17066602&url=http:...|UK|TD|??|^^|&utm_source=TradeDoubler&utm_medium=Affiliate&utm_campaign=TradeDoubler&utm_term=&utm_content=
Comment #5
marcvangendIn addition, exclamation marks are also allowed in the anchor. Both Twitter and Facebook use url's like http://twitter.com/#!/marcvangend nowadays. In other words, this should be added to the patch:
Comment #6
stuart.crouch commentedWe've just discovered this limitation when trying to make use of the oEmbed module for our embed server. The embed server uses the #! notation in the same format as twitter, so I'm wondering how I can help get this implemented.
Comment #7
jasonawanthttp://drupal.org/node/1238808