quoid / userscripts

An open-source userscript manager for Safari
https://quoid.github.io/userscripts/
GNU General Public License v3.0
3.22k stars 184 forks source link

fix: avoid two potential thread crashes #714

Closed ACTCD closed 2 weeks ago

ACTCD commented 3 weeks ago

The crash of parse(_:) could not find a use case to reproduce, but just added a check.

The crash of URL.host(percentEncoded:) was a internal bug in Foundation in some OS vesions.