pirave / postmarkup

Automatically exported from code.google.com/p/postmarkup
0 stars 0 forks source link

Link gets messed up by the parser #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Get the BBCode parser to run this:
[url=http://www.google.com/coop/cse?cx=006850030468302103399%3Amqxv78bdfdo]CakeP
HP
Google Groups[/url]
2. the link does not work after postmarkup renders it
3.

What is the expected output? What do you see instead?
A working link to
http://www.google.com/coop/cse?cx=006850030468302103399%3Amqxv78bdfdo

What version of the product are you using? On what operating system?
1.0.5, tested on Windows XP and Ubuntu 

Please provide any additional information below.
If I comment out this link, it works like I want---
self.url="http:"+urlunparse( map(quote, (u"",)+url_parsed[1:]) )

Original issue reported on code.google.com by rtcon...@gmail.com on 16 Aug 2007 at 4:11

GoogleCodeExporter commented 8 years ago
Potential fix in SVN. The quoting is necessary to prevent injection of html in 
to the
rendered bbcode output. Please give the SVN version a try, and if all is well 
I'll
make a new release.

Original comment by w...@willmcgugan.com on 17 Aug 2007 at 1:58

GoogleCodeExporter commented 8 years ago

Original comment by willmcgugan on 17 Aug 2007 at 2:16

GoogleCodeExporter commented 8 years ago
Fixed in version 1.0.6

Original comment by willmcgugan on 19 Aug 2007 at 1:18

GoogleCodeExporter commented 8 years ago
Hey thanks the link works now. It still displays funny in the status bar on the
bottom, but who really cares anyways.

Original comment by rtcon...@gmail.com on 26 Aug 2007 at 7:05