git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 601573a8 authored by Evan Prodromou's avatar Evan Prodromou

don't forget to add qstring to static paths

parent f6f147c0
......@@ -147,7 +147,7 @@ class URLMapper
}
}
// success
return $tryPath;
$path = $tryPath;
} else {
list($tryArgs, $format, $paramNames) = $candidate;
......@@ -171,15 +171,18 @@ class URLMapper
}
$path = vsprintf($format, $toFormat);
}
if (!empty($qstring)) {
$path .= '?' . http_build_query($qstring);
}
return $path;
if (!empty($qstring)) {
$formatted = http_build_query($qstring);
$path .= '?' . $formatted;
}
return $path;
}
// failure; some reporting twiddles
unset($args['action']);
if (empty($args)) {
......
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