ICS-Files have their links URL-Decoded when importing
| Originator: | raschee | ||
| Number: | rdar://22017527 | Date Originated: | 2015-07-27 |
| Status: | Open | Resolved: | |
| Product: | OS X | Product Version: | 10.10.4 (14E46) |
| Classification: | Other Bug | Reproducible: | Always |
Summary: This is a follow-up from rdar://22016431. The issue applies to calendar on iOS as well. When importing the given file testcase.ics, the imported calendar entry has the URL https://primarschule-margelaecker.schule-wettingen.ch/aktuell/2015/3/29/projektwoche-"alles-mist". This works but leads to a few unexpected results on iOS (see linked radar 22016431). When importing the doubly-URL-encoded file testcase-working.ics, the imported entry gets the correct URL of https://primarschule-margelaecker.schule-wettingen.ch/aktuell/2015/3/29/projektwoche-%22alles-mist%22 (note the %22 instead of the quote). I believe this is wrong as RFC 5545 (https://tools.ietf.org/html/rfc5545#section-3.8.4.6) never defines any additional transformation to be applied to the URL field and RFC 2445 even explicitly states “No additional content value encoding (i.e., BACKSLASH character encoding) is defined for this value type.” Steps to Reproduce: 1. Import or subscribe to the given testcase. 2. Look at the URL of the added event. Expected Results: URL should be https://primarschule-margelaecker.schule-wettingen.ch/aktuell/2015/3/29/projektwoche-%22alles-mist%22 Actual Results: URL is https://primarschule-margelaecker.schule-wettingen.ch/aktuell/2015/3/29/projektwoche-"alles-mist" Version: 10.10.4 (14E46)
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!