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

Fixed bug with unspecified protocol in resources on https page. #44

Merged
merged 2 commits into from
Apr 20, 2016

Conversation

marklagendijk
Copy link

  • When a resource link does not have a protocol defined the protocol from the url of the containing page should be used, instead of just choosing 'http'.

- When a resource link does not have a protocol defined the protocol from the url of the containing page should be used, instead of just choosing 'http'.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 0ce3c8f on marklagendijk:protocol-less-urls-bug into 8eaf1e6 on s0ph1e:master.

@s0ph1e
Copy link
Member

s0ph1e commented Apr 20, 2016

Could you please add unit test for it to test/unit/utils-test.js ?

@marklagendijk
Copy link
Author

Done!

@s0ph1e s0ph1e added the bug label Apr 20, 2016
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 928753c on marklagendijk:protocol-less-urls-bug into 8eaf1e6 on s0ph1e:master.

@s0ph1e
Copy link
Member

s0ph1e commented Apr 20, 2016

LGTM
Thanks @marklagendijk

@s0ph1e s0ph1e merged commit c334845 into website-scraper:master Apr 20, 2016
aivus pushed a commit that referenced this pull request Apr 20, 2016
* Fixed bug with unspecified protocol in resources on https page.
- When a resource link does not have a protocol defined the protocol from the url of the containing page should be used, instead of just choosing 'http'.

* Added unit tests
s0ph1e pushed a commit that referenced this pull request Apr 20, 2016
…#46)

* Fixed bug with unspecified protocol in resources on https page.
- When a resource link does not have a protocol defined the protocol from the url of the containing page should be used, instead of just choosing 'http'.

* Added unit tests
@marklagendijk marklagendijk deleted the protocol-less-urls-bug branch April 21, 2016 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants