-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
wiki: URL encoding bug #4090
Comments
I couldn't reproduce on the try.gitea.io link but maybe I didn't understand the bug. |
@sapk When you click "Click Me" it will lead you to Because the URL is no longer encoded as
|
I see, but that logical the file is name : Test%3F If I take github as a reference : But we should notice it at the release that it could break some links. |
@sapk Yes, you're right. But it will break some links if I use
Only Maybe we shouldn't encode the file name. |
We need to encode the filename (in url) are those char are specials. But in case of [[Test?]] maybe url-encode the reference (link) to the page but not the title displayed. |
I would just be encode link here before URLJoin but I will have to test this before PR. |
should be closed by #4091 |
…img link (without path) for short link
[x]
): N/ADescription
Since #4058, the links are no longer encoded.
But the URLs(files name) of the existing pages or new pages are still encoded.
The original link is
https://try.gitea.io/yasuokav/link-test/wiki/Test%3F
but now is
https://try.gitea.io/yasuokav/link-test/wiki/Test?
Screenshots
N/A
The text was updated successfully, but these errors were encountered: