Skip to content

Conversation

@Nightsd01
Copy link
Contributor

@Nightsd01 Nightsd01 commented Mar 30, 2018

• Sending an image URL with query parameters used to not work.
• The SDK was checking the end of URL's to make sure they were an image or other media type (ie. making sure it ended in .jpeg, .mp3, etc)
• Changed the SDK so that it will now remove query parameters from the end of URL's before attempting to type check the file extension


This change is Reviewable

• Sending an image URL with query parameters used to not work.
• The SDK was checking the end of URL's to make sure they were an image or other media type (ie. making sure it ended in .jpeg, .mp3, etc)
• Changed the SDK so that it will now remove query parameters from the end of URL's before attempting to type check the file extension
@Nightsd01 Nightsd01 requested a review from jkasten2 March 30, 2018 22:59
@jkasten2
Copy link
Member

Can we add a test for this?


Review status: 0 of 1 files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

• Adds a test to make sure the SDK appropriately handles media URL's even if they have query parameters
@jkasten2
Copy link
Member

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@Nightsd01 Nightsd01 merged commit 45ab228 into master Apr 16, 2018
@Nightsd01 Nightsd01 deleted the fix_url branch April 16, 2018 17:54
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.

3 participants