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 |
Jump to:
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
Actually seeing how old beta3 is now I'd better try out beta4 first..
#2
Did beta4 work for you?
#3
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
Hmm. I guess I should've changed the status when I posted my comment?
#5
Can you please post the complete 'From' and 'To' URLs you are using? Also please check you are using the latest code.
#6
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.