Hi,
I have the following problem, hopefully you can fix that.

The sitemap cannot handle the German letters ä, ö, ü which are allowed in URLs.
So basically google thinks the URL is wrong as the sitemap tells not the right URL.

If you need any further information, let me know.
Many thanks

Comments

avpaderno’s picture

If the code is using valid_url() to verify if the URL is valid, then the URL should be first passed to drupal_urlencode(); differently, if the URL doesn't contain characters in the ASCII subset, valid_url() will report the URL is not valid.

dave reid’s picture

Status: Active » Closed (works as designed)

valid_url() isn't used at all. The problem is that those characters are converted when used in url() which is required to make proper links. Your best bet is to find a related issue already filed for the Drupal core project. Also, your webserver should be capable of converting URL requests like /hi%C3%A4%C3%B6%C3%BC back into hiäöü before it hits Drupal.

As there's nothing for us to do, marking this as by design.