[Trac-tickets] [The Trac Project] #2865: asynmetric escaping of url
for wiki page name
The Trac Project
noreply at edgewall.com
Mon Mar 13 02:22:10 CST 2006
#2865: asynmetric escaping of url for wiki page name
-----------------------------------------------+----------------------------
Reporter: Shunichi Goto <gotoh at taiyo.co.jp> | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: wiki | Version: devel
Severity: major | Keywords:
-----------------------------------------------+----------------------------
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:
1. Go to http://projects.edgewall.com/trac/wiki/%E6%BC%A2%E5%AD%97 [[BR]]
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 text `Describe
"漢字" here.`
but r3008 shows us as `Describe "%E6%BC%A2%E5%AD%97" here`. This is
wrong.
2. 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.
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2865>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list