Modify ↓
#2865 closed defect (duplicate)
asynmetric escaping of url for wiki page name
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | wiki system | Version: | devel |
Severity: | major | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I upgaraded from trunk r2947 to r3008 today, and I've encounted problem around url escape. It seems that page name is not un-escaped from url.
To reproduce:
- Go to http://projects.edgewall.com/trac/wiki/%E6%BC%A2%E5%AD%97
This URL means non-existant page whose name is "漢字" (japanese character). The utf-8 code of this page is E6 BC A2 E5 AD 97. At this point, this empty page should contains a textDescribe "漢字" here.
but r3008 shows us asDescribe "%E6%BC%A2%E5%AD%97" here
. This is wrong.- Then on pressing "Create this page" button, the url is changed to %25E6%25BC%25A2%25E5%25AD%2597. Apparently it is double escaping. And it happens more and more by pressing preview buttons.
Thus we cannot create new and edit existing non-ascii page correctly.
Attachments (0)
Note:
See TracTickets
for help on using tickets.
I think it's a duplicate of #2864. Can you try the fix I posted there?