[Webkit-unassigned] [Bug 248219] New: ARQL truncates canonicalWebPageURL when it contains encoded query parameters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 22 05:58:17 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=248219

            Bug ID: 248219
           Summary: ARQL truncates canonicalWebPageURL when it contains
                    encoded query parameters
           Product: WebKit
           Version: Safari 16
          Hardware: iPhone / iPad
                OS: iOS 16
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mail at milesgreen.net

When passing canonicalWebPageURL to ARQL as part of the USDZ file path, if the canonicalWebPageURL contains query parameters as part of the URL, even when URI encoded, ARQL will truncate the shared URL down to (and including) the first occurrence of an encoded '&' when clicking on the Share button from within the ARQL session.

For example, when giving a USDZ a path of:

https://example.com/example.usdz#canonicalWebPageURL=https%3A%2F%2Fexample.com%2F%3Ffoo%3D111%26bar%3D222

The shared URL will get truncated down to:

https://example.com/?foo=111

Rather than:

https://example.com/?foo=111&bar=222

This makes it not possible to specify a canonicalWebPageURL containing multiple query string parameters.

Repro:

- Visit: https://usdz-params.glitch.me
- Scroll to "6. Complex Share URL".
- Tap the image to launch ARQL.
- Model opens in ARQL.
- Tap the Share button. 
- Copy the shared URL.
- Observe the shared URL is truncated.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221122/4583c547/attachment.htm>


More information about the webkit-unassigned mailing list