wellington-junio / gitblit

Automatically exported from code.google.com/p/gitblit
Apache License 2.0
0 stars 0 forks source link

Wiki style links are double-encoded #568

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The wiki style page links for multi-byte character page name were 
double-encoded, so the link does not work.

The current environment is as follows:

- Gitblit 1.6.2
- Windows Server 2008
- Japanese character page name

If I wrote the document with this kind of link:

    [[運営]]

This should be the link as:

    http://host/doc/foo.git/master/%E9%81%8B%E5%96%B6

But the link on the Gitblit page was:

    http://host/doc/foo.git/master/%25E9%2581%258B%25E5%2596%25B6

I think the encoding method of the MarkupProcessor is not needed.

Original issue reported on code.google.com by yoshi...@gmail.com on 3 Mar 2015 at 8:19