Requestor does not handle URLs with no path
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
What steps will reproduce the problem?
1. Enter a URL of http://www.google.com
2. Press the Send button
3. No data is returned and debug log throws exception
What is the expected output? What do you see instead?
Would expect the response to be successful and the code to assume a path of '/'
No data is returned and application throws an exception in the console output
What version of the product are you using? On what operating system?
2011.7.14-alpha
Fedora 15
Please provide any additional information below.
This can be fixed by modifying tabs/RequestorTab.py, build_replacements def;
only modified lines are shown:
replacements['path'] = splitted.path or '/'
replacements['request_uri'] = urlparse.urlunsplit(('', '',
replacements['path'], replacements['query'], ''))
Original issue reported on code.google.com by kelle...@gmail.com
on 6 Aug 2011 at 3:19
Google Code Exporter commented
Thanks for the first official bug report outside of the dev team. Issue has
been fixed based on code submitted.
Original comment by seth.w.law@gmail.com
on 6 Aug 2011 at 10:09
- Changed state: Fixed