Skip to content

ws: handle spaces in paths#3930

Merged
Parth merged 2 commits intomasterfrom
paths-spaces
Nov 4, 2025
Merged

ws: handle spaces in paths#3930
Parth merged 2 commits intomasterfrom
paths-spaces

Conversation

@Parth
Copy link
Copy Markdown
Member

@Parth Parth commented Nov 4, 2025

I'm working on #2078 (the bear part) for @Luca409 and bear normalizes spaces. The export format has links to images with url-encoded-spaces. It looks something like this:
image

This PR uses a tiny crate which I've already audited (though feel free to explore yourself) to decode these. It falls back on the original string if it reports any failures.

@ad-tra / @tvanderstad the ask is to QA the various image handling flows that use this link resolution logic. I checked a bunch of things but it would be good for you guys to check as well and lmk if there are any failures. Ideally you'll do this in the next couple days, but for sure before the next release.

Please & Thanks.

@Parth Parth requested review from ad-tra and tvanderstad November 4, 2025 20:43
@Parth
Copy link
Copy Markdown
Member Author

Parth commented Nov 4, 2025

I'm going to merge this to continue working on the import functionality, but I will be checking for 2 approvals here before I release

@Parth Parth merged commit 9886efd into master Nov 4, 2025
1 check passed
@Parth Parth deleted the paths-spaces branch November 4, 2025 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant