Use explicit locale with upper/lower case conversions
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1578441 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
68855c40f4
commit
b370df34ca
|
@ -288,8 +288,8 @@ public class URIUtils {
|
|||
outputBuffer.append('/');
|
||||
}
|
||||
try {
|
||||
final String scheme = uri.getScheme().toLowerCase();
|
||||
final String auth = uri.getAuthority().toLowerCase();
|
||||
final String scheme = uri.getScheme().toLowerCase(Locale.ROOT);
|
||||
final String auth = uri.getAuthority().toLowerCase(Locale.ROOT);
|
||||
final URI ref = new URI(scheme, auth, outputBuffer.toString(),
|
||||
null, null);
|
||||
if (uri.getQuery() == null && uri.getFragment() == null) {
|
||||
|
|
Loading…
Reference in New Issue