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

Check HTTP URL: error in URL calculation #172

Open
srl295 opened this issue Jul 22, 2019 · 0 comments
Open

Check HTTP URL: error in URL calculation #172

srl295 opened this issue Jul 22, 2019 · 0 comments
Labels

Comments

@srl295
Copy link
Contributor

srl295 commented Jul 22, 2019

follow-on to #148 … noticed by @JCEmmons

Check HTTP URL
✓ Should not let me access http://≈≈≈.≈≈.≈≈/translate//rest/swagger.json

the URL calculation is incorrect, should be just bent(httpUrl, './rest/swagger.json', …

    var urlToPing = httpUrl + '/rest/swagger.json';
    it('Should not let me access ' + urlToPing, () => bent(403, 301, urlToPing)); // not 200

the test passes OK, but could produce a false positive if this is not corrected.

@srl295 srl295 added the test label Jul 22, 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

1 participant