Closed (fixed)
Project:
Bbcode
Version:
7.x-1.0
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2008 at 12:57 UTC
Updated:
23 Aug 2017 at 16:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
naudefj commentedCan you please prepare a patch for this?
Comment #2
iKillBill2 commentedyes, that would be good! please!
Comment #3
mgorla commentedThis Issue is presnt in 6.x-1.2 too, can anyone find a patch for this?
edit: I created my own mymodule_filter that does an str_replace in the "prepare" operation to solve the problem
Comment #4
marcushenningsen commentedMy solution to this was to add the following lines to bbcode-filter.inc to the "links" section (lines 161-165):
This seems to make the doublequoted url's render. I've no idea whether this solution has negative side effects. I'll be happy to provide a patch, if the module maintainer is interested.
Marcus
Comment #5
dob_ commentedSame problem with single quotes.
works:
[url=http://myurl.com?page=RGallery&rGalleryCat=none&reset_tag=1]Galerie[/url]
Does not work:
[url='http://myurl.com?page=RGallery&rGalleryCat=none&reset_tag=1']Galerie[/url]
Comment #6
johnzzonI solved this by just adding
"?\'?in two places in the last links regex, simply allowing there to be 0 or 1 matches of either single quote or double quote around the URL. Figured I'd drop this patch here for anyone coming here looking for a fix as well.The patch is for 7.x-1.0, but the change should be possible towards 6.x as well.
Comment #7
naudefj commentedPatch applied. Thank you so much!