New pull #88 breaks many file inputs #89

Closed
opened 2021-01-31 00:09:12 -03:00 by kode54 · 3 comments
kode54 commented 2021-01-31 00:09:12 -03:00 (Migrated from github.com)

The code which now converts stringified paths into NSURLs now turns the colons after the scheme specifier into %3A, thus forming relative URLs with no valid scheme. What's the best way to fix this?

The code which now converts stringified paths into NSURLs now turns the colons after the scheme specifier into `%3A`, thus forming relative URLs with no valid scheme. What's the best way to fix this?
kode54 commented 2021-01-31 00:33:07 -03:00 (Migrated from github.com)

Looks like someone already found us a solution, I've implemented it and it appears to work.

https://developer.apple.com/forums/thread/6899

Looks like someone already found us a solution, I've implemented it and it appears to work. https://developer.apple.com/forums/thread/6899
nevack commented 2021-01-31 01:06:48 -03:00 (Migrated from github.com)

Oh, sorry. I thought this was just a mechanical conversion from deprecated method to proposed one.

Oh, sorry. I thought this was just a mechanical conversion from deprecated method to proposed one.
kode54 commented 2021-01-31 01:37:40 -03:00 (Migrated from github.com)

Unfortunately, the new method is designed for safely encoding URL components, but not complete URLs.

Unfortunately, the new method is designed for safely encoding URL components, but not complete URLs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: chris/Cog#89
No description provided.