Fixed #24063 -- Locale code validation too strict

Allow language code in URL to contain @ for language variant.

Signed-off-by: Michal Čihař <michal@cihar.com>