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

Small fixes on OEmbed URL detection #1556

Merged
merged 1 commit into from Apr 3, 2018
Merged

Small fixes on OEmbed URL detection #1556

merged 1 commit into from Apr 3, 2018

Conversation

noirbizarre
Copy link
Contributor

This PR fixes 2 cases:

  • URL not found in known URL
  • port is specified in HTTPS URL

Fix WWW-DATAGOUVFR-4RD5

@noirbizarre noirbizarre added this to the 1.3.5 milestone Mar 30, 2018
@noirbizarre noirbizarre self-assigned this Mar 30, 2018
@noirbizarre noirbizarre requested a review from a team March 30, 2018 16:44
Copy link
Contributor

@abulte abulte left a comment

Choose a reason for hiding this comment

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

One comment to amend in tests

assert404(response)

def test_oembed_with_port_in_https_url(self, api):
'''It should fail at fetching an oembed with an invalid URL.'''
Copy link
Contributor

Choose a reason for hiding this comment

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

Wrong comment I think

Fix WWW-DATAGOUVFR-4RD5
@noirbizarre noirbizarre merged commit d2e241c into opendatateam:master Apr 3, 2018
@noirbizarre noirbizarre deleted the oembed-fix-port branch April 3, 2018 09:15
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.

None yet

2 participants