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

Issue with newer golang #8

Closed
hvonw opened this issue Oct 27, 2019 · 3 comments
Closed

Issue with newer golang #8

hvonw opened this issue Oct 27, 2019 · 3 comments
Assignees
Labels

Comments

@hvonw
Copy link

hvonw commented Oct 27, 2019

Hi @wrfly,
Spews error when trying to import proxies from file.

": net/url: invalid control character in URL "

@wrfly
Copy link
Owner

wrfly commented Nov 5, 2019

hi @hvonw , can I see your proxy file example?

@hvonw
Copy link
Author

hvonw commented Nov 6, 2019

Hi friend,
As you said in the document it starts with the type.
Multiple proxy types all in one proxies.txt file.

http://IP:Port
socks4://IP:Port
socks5://IP:Port

The old version of the golang does not give this error by the way.
Maybe this could be the issue? (\r)
zserge/lorca#51 (comment)

@wrfly
Copy link
Owner

wrfly commented Nov 6, 2019

Got it, will fix it right away.

See also https://stackoverflow.com/questions/55945325/golang-url-parse-always-return-invalid-control-character-url

@wrfly wrfly closed this as completed in 8140b92 Nov 6, 2019
wrfly added a commit that referenced this issue Nov 6, 2019
fix: #8
@wrfly wrfly added the bug label Nov 6, 2019
@wrfly wrfly self-assigned this Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants