Open X-Callback URL broken in Shortcuts app
Originator: | palmin | ||
Number: | rdar://43331514 | Date Originated: | 15-Aug-2018 03:35 PM |
Status: | Open | Resolved: | |
Product: | iOS + SDK | Product Version: | iOS 11.4.1 |
Classification: | Serious Bug | Reproducible: | Always |
Summary: The "Open X-Callback URL" action is used to invoke URL actions in other apps in such a way that results can be sent back to the Shortcuts app. This is accomplished by adding x-success and x-error parameters to the URL that the receiving app uses. Shortcuts 2.0 (670) does not add these parameters breaking the "Open X-Callback URL" command. Steps to Reproduce: 1. Open the Shortcuts app 2. Add Text action with the content "https://workingcopy.app/echo.html?" 3. Add Open X-Callback URL action below text action. 4. Run workflow Expected Results: Website should open showing: window.location = https://workingcopy.app/echo.html?x-success=shortcuts://callback... Actual Results: Website opens showing: window.location = https://workingcopy.app/echo.html? Version: iOS 11.4.1 Notes: https://workingcopy.app/echo.html will simply output window.location using the javascript: document.write("window.location = " + window.location);
Comments
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!