You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
some characters such as space cannot be encoded in a URL host name, even with percent encoding. this causes optional force unwrap of the URL to fail at runtime, causing a DocC preview crash.
tayloraswift
changed the title
optional force unwrap fails if package manifest name contains special characters
optional force unwrap fails if target name contains special characters
Jun 10, 2024
Description
some characters such as space cannot be encoded in a URL host name, even with percent encoding. this causes optional force unwrap of the URL to fail at runtime, causing a DocC preview crash.
it can be reproduced on Linux by running the command below on this commit of the test package tayloraswift/snippets-example@968f351
@Kyle-Ye followed these steps, changing the manifest for macOS compatibility, and took this screenshot from a debugger:
Checklist
main
branch of this package.Swift-DocC Version Information
Plugin version 1.3.0
Swift Compiler Version Information
The text was updated successfully, but these errors were encountered: