Difficulty creating redirects to internal paths that include accented characters

gpk - September 10, 2009 - 13:06
Project:Path redirect
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I have yet to test with 6.x-1.0-beta4, but with beta3 a character such as "à" in the "To" URL I get the message "The redirect to path does not appear valid."

The à character has to be entered in the To box as %C3%A0; on the page listing redirects, and in the browser address bar (after clicking on either the From or To links on that page), it shows as %25C3%25A0 but works OK.

Note that if the URL is entered as a complete external alias then again the à character has to be input in the To box in the form %C3%A0, but then on the page listing all the redirects and in the browser address bar on visiting the link the character is once more shown as à.

#1

gpk - September 10, 2009 - 13:48
Status:active» postponed (maintainer needs more info)

Actually seeing how old beta3 is now I'd better try out beta4 first..

#2

Dave Reid - October 27, 2009 - 03:55

Did beta4 work for you?

#3

firebird - October 30, 2009 - 10:05

Just tried the latest version, and tried to redirect to an image file with "ä" in the name.

"The redirect to path does not appear valid."

The same thing happens if the "to"-path has a space in it.

Couldn't this be solved simply by automatically URLencoding the "to"-path?

#4

firebird - November 3, 2009 - 11:39
Status:postponed (maintainer needs more info)» active

Hmm. I guess I should've changed the status when I posted my comment?

#5

Dave Reid - November 27, 2009 - 06:00
Version:6.x-1.0-beta3» 6.x-1.x-dev
Status:active» postponed (maintainer needs more info)

Can you please post the complete 'From' and 'To' URLs you are using? Also please check you are using the latest code.

#6

firebird - December 4, 2009 - 13:59
Status:postponed (maintainer needs more info)» active

Tested with beta6, creating new redirects:

From: drupäl
To: http://ampli.fi/files/drupäl.org.png
Result: The redirect to path does not appear valid.

From: drupäl
To: To: http://ampli.fi/files/drupal.org.png
Result: The redirect has been saved.

 
 

Drupal is a registered trademark of Dries Buytaert.