We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit d3a72431 authored by Brenda Wallace's avatar Brenda Wallace

lowercase tags using mb_convert_case(), which understands many more alphabets than I do.

parent 932eab07
......@@ -595,7 +595,8 @@ function common_tag_link($tag)
function common_canonical_tag($tag)
{
return strtolower(str_replace(array('-', '_', '.'), '', $tag));
$tag = mb_convert_case($tag, MB_CASE_LOWER, "UTF-8");
return str_replace(array('-', '_', '.'), '', $tag);
}
function common_valid_profile_tag($str)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment