Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpublisher can not open when file when it has a whitespace in it escaped with %20 #1508

Open
1 task done
JohannesDienst-askui opened this issue Sep 20, 2024 · 0 comments

Comments

@JohannesDienst-askui
Copy link

Describe the bug

Hello,

I have an odd problem with Webpublisher. Someone put whitespaces in folder names and filenames in our repository. Now when I create the link for Webpublisher it looks like this: https://pr.new/askui/askui-dev-docs/edit/main/docs/docs/general/03-Element%20Selection/aielement.md

It works for URLs without an escaped whitespace: https://pr.new/askui/askui-dev-docs/edit/main/docs/versioned_docs/version-0.20.7/general/05-Integrations/github-actions.md

Link to the blitz that caused the error

https://pr.new/askui/askui-dev-docs/edit/main/docs/docs/general/03-Element%20Selection/aielement.md

Steps to reproduce

  1. Find a file/folder in your repository that contains a whitespace
  2. Create a Webpublisher link for it

Expected behavior

Webpublisher should open the file in the editor on the left side

Parity with Local

Screenshots

image

Platform

  • OS: macOS
  • Browser: Chrome
  • Version: 128.0.6613.138 (Official Build) (arm64)

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant