abhishekbhalani / abot

Automatically exported from code.google.com/p/abot
Apache License 2.0
1 stars 0 forks source link

Using ampersand in URLs causes "Page has no content" #127

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a site with a page that contains a link like this: 
/MyPage.html?p1=v&p2=v

2. Browse with abot

What is the expected output? What do you see instead? I expect to have abot 
browse the page. Abot could browse if the URL was not HTML encoded (&p2=v works 
fine). Abot should translate the & into an & but, since it does not, the 
url fails and abot returns "Page has no content". 

Abot crawls: /MyPage.html?p1=v&p2=v
Abot should crawl: /MyPage.html?p1=v&p2=v

What version of the product are you using? On what operating system? 1.1.1.1 C# 
on ASP.NET w/ IIS75 on Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by scott.wh...@gmail.com on 22 Jan 2014 at 8:44

GoogleCodeExporter commented 9 years ago
Fixed with this checkin to v1.2.3 
https://github.com/sjdirect/abot/commit/c2b8567fd851ce1fdee70615b2e78cfa369b9c1e

Thanks for submitting the bug!!

Original comment by sjdir...@gmail.com on 26 Jan 2014 at 10:50