nekohayo / specto

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

URL that contain "&" are transformed in "\&" #98

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If i add url that contain the symbol "&" when specto controls the web-site
it transforms that symbol in "\&". So the web site is not the site i want
to watch. If i go to modify the url the website is written corrected but
when i go to "Go on" option i see the wrong site on my browser.

Specto 0.2.2 on Ubuntu Gutsy.

Original issue reported on code.google.com by rez...@gmail.com on 7 Feb 2008 at 1:11

GoogleCodeExporter commented 9 years ago
Hello,

in util.py there is indeed a line that replaces "&" with "\&":
clean_url = str(webpage.replace("&", "\&"))

Could somebody explain for what this should be done?

Original comment by woutclym...@gmail.com on 7 Feb 2008 at 1:15

GoogleCodeExporter commented 9 years ago
most likely because of issue #52 and issue #56. Note that at least one of them 
is
marked fixed, but not verified.

Original comment by nekoh...@gmail.com on 7 Feb 2008 at 2:27

GoogleCodeExporter commented 9 years ago
I removed the replace code and it seems to work fine without it!
If somebody can tell me that it doesn't work without this replacement 
statement, we
will leave it...else i propose that we remove this from the code.

Original comment by woutclym...@gmail.com on 8 Feb 2008 at 7:10

GoogleCodeExporter commented 9 years ago
You have tested the stuff that was reported in those two issues? If yes, I'll 
simply
have to trust you on this, as I have sadly no time to test it myself :|

Original comment by nekoh...@gmail.com on 8 Feb 2008 at 10:27

GoogleCodeExporter commented 9 years ago
Fixed in my branch, do we also need to commit this to the current stable branch?

Original comment by woutclym...@gmail.com on 14 Mar 2008 at 6:42

GoogleCodeExporter commented 9 years ago

Original comment by nekoh...@gmail.com on 18 Mar 2008 at 1:45