Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#2865 closed defect (duplicate)

asynmetric escaping of url for wiki page name

Reported by: Shunichi Goto <gotoh@…> 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:

  1. 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 text Describe "漢字" here. but r3008 shows us as Describe "%E6%BC%A2%E5%AD%97" here. This is wrong.
    1. 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)

Change History (3)

comment:1 by Christian Boos, 18 years ago

Resolution: duplicate
Status: newclosed

I think it's a duplicate of #2864. Can you try the fix I posted there?

comment:2 by Shunichi Goto <gotoh@…>, 18 years ago

Bingo! The problem has gone. Thanks.

comment:3 by Christopher Lenz, 18 years ago

I'd still be interested in knowing what front-end you're using ;-)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.