Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raw IPv6 addresses parsed incorrectly #15

Open
manugarg opened this issue Sep 26, 2014 · 0 comments
Open

Raw IPv6 addresses parsed incorrectly #15

manugarg opened this issue Sep 26, 2014 · 0 comments

Comments

@manugarg
Copy link
Owner

From jmber...@gmail.com on September 12, 2011 14:15:31

Example (with vanilla pactester 1.2.9):

DEBUG=1 ./pactester -e -p proxy.pac -u http://[2001:67c:168:170::10]/

...
DEBUG: Finding proxy for URL: http://[2001:67c:168:170::10]/ and Host: [2001

Host ist parsed as '[2001'

With the patch:

DEBUG=1 ./pactester -e -p proxy.pac -u http://[2001:67c:168:170::10]/

...
DEBUG: Finding proxy for URL: http://[2001:67c:168:170::10]/ and Host: [2001:67c:168:170::10]

Actually, I don't know if the brackets have to be stripped before
being evaluated in FindProxyForURL.

Original issue: http://code.google.com/p/pacparser/issues/detail?id=15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant