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 for app.links urls #80

Closed aceslick911 closed 1 year ago

aceslick911 commented 1 year ago

Resolves #79

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

Fix: 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.

Switched: contentType[0] != "application/json" to isJSONMimeType := strings.Contains(contentType[0], "application/json")

chayev commented 1 year ago

Closing due to lack of response in issue #79.

cc: @aceslick911