The query of a URL is ignored when matching for universal links.

Originator:jaddyman
Number:rdar://22931261 Date Originated:01-Oct-2015 12:50 PM
Status:OPEN Resolved:
Product:iOS Product Version:9.x
Classification:Serious Bug Reproducible:Always
 
Summary:
The documentation states: "Note that only the path component of the URL is used for comparison; other components such as the query string or fragment identifier are ignored." when pattern matching for Universal Links.

This is a problem for our application because we are trying to match against product URLs across several international stores, and each store uses a different URL format (primarily a localised URL for SEO purposes). The only common denominator across all international store product is a parameter in the query of the URL.

Because of the limitation to paths in the pattern matching for universal links we cannot reliably match all product URLs across our international stores.

We cannot change the URL format for many reasons - many systems already in place depend on the current setup.

We would request that in future, pattern matching for Universal Links includes the query portion of a URL.

Steps to Reproduce:
Set up a scenario for universal links in an iOS app, and use a a path that relies on matching a query parameter.

Expected Results:
Universal Links should be recognised for the pattern set out in the apple-app-site-association json file.

Actual Results:
The universal links are not recognised for the patterns in the json file.

Version:
iOS 9

Notes:


Configuration:
universal links scenario

Attachments:

Comments

Duped: rdar://22931795


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!