chayev / yurl

Universal Links / App Links Validator
https://yurl.chayev.com/
MIT License
30 stars 7 forks source link

Bug: Incorrectly reports android deeplinks as invalid if contains anything other than application/json in the header #79

Closed aceslick911 closed 1 year ago

aceslick911 commented 1 year ago

Services such as app.link return content-type headers: application/json; charset=utf-8 and work fine with ios and android. Android yURL results currently wrongly state this is invalid.

aceslick911 commented 1 year ago

Fix: https://github.com/chayev/yurl/pull/80

chayev commented 1 year ago

@aceslick911 do you have examples of a few domains where the content type is application/json; charset=utf-8?

For context - I based the validator on the spec defined by Android. It specifically says the content type should be application/json.

I'm open to the edit you suggested as I know that application/json; charset=utf-8 works as well. I just want some examples to validate against before making the call.

chayev commented 1 year ago

@aceslick911 let me know if you have any examples

chayev commented 1 year ago

Closing due to lack of response