Commit 4a7334e
Release: bump to v0.3.1
One user-facing fix since v0.3.0:
* 2e29385 URLs: percent-encode non-ASCII bytes before
launching the browser. URLs with Cyrillic/CJK/accented
characters in their path or query (e.g. Reddit thread URLs
containing the original-language title) failed `b` on macOS
with "Error 92: Illegal byte sequence" because NSURL / `open`
reject anything outside RFC 3986. Now `iri_to_uri()` walks
the string and percent-encodes any byte >= 0x80; ASCII
(including `%` and the URL-reserved set) passes through
unchanged, so the URL structure is preserved and the
operation is idempotent on already-encoded input. Harmless
on Windows (ShellExecute accepts UTF-8 URLs as-is; the
browser sees the percent-encoded form and normalizes
identically) and necessary on macOS.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 2e29385 commit 4a7334e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments