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

Sanitize the URLs used by the manager #332

Merged
merged 1 commit into from
Apr 20, 2020
Merged

Sanitize the URLs used by the manager #332

merged 1 commit into from
Apr 20, 2020

Conversation

Senyoret1
Copy link
Contributor

Did you run make format && make check?
The go code was not changed. npm run lint and npm run build were used.

Changes:

  • Code was added to avoid the manager to try to use URLs with two / characters in the path. Example, if http://first/second//third is detected, the code calls http://first/second/third.

How to test this PR:
The URL used to connect to the exec endpoint in the simple terminal now should work well.

Copy link
Member

@jdknives jdknives left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Exec endpoint works again.

@jdknives jdknives merged commit 8cb08a6 into skycoin:develop Apr 20, 2020
jdknives added a commit that referenced this pull request Oct 19, 2020
Sanitize the URLs used by the manager

Former-commit-id: 8cb08a6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants