summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/servlet
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-06-12 18:55:37 -0400
committerJames Moger <james.moger@gitblit.com>2014-06-12 18:55:37 -0400
commitef4a461f2fca3f445afb16718448b14f2b57e810 (patch)
tree2165ea73f6bf204e36cc41bf006a91d77ffb04aa /src/main/java/com/gitblit/servlet
parentebed4a60d95c40b91f8ca1b99d6ea3a0a7c9114c (diff)
parent46bfccb0d57ba75d195be7afa54e37ba0d4321d1 (diff)
downloadgitblit-ef4a461f2fca3f445afb16718448b14f2b57e810.tar.gz
gitblit-ef4a461f2fca3f445afb16718448b14f2b57e810.zip
Merge branch 'ticket/100' into release-v1.6.0
Diffstat (limited to 'src/main/java/com/gitblit/servlet')
-rw-r--r--src/main/java/com/gitblit/servlet/AuthenticationFilter.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main/java/com/gitblit/servlet/AuthenticationFilter.java b/src/main/java/com/gitblit/servlet/AuthenticationFilter.java
index 5710a4af..c21f8692 100644
--- a/src/main/java/com/gitblit/servlet/AuthenticationFilter.java
+++ b/src/main/java/com/gitblit/servlet/AuthenticationFilter.java
@@ -16,8 +16,6 @@
package com.gitblit.servlet;
import java.io.IOException;
-import java.io.UnsupportedEncodingException;
-import java.net.URLDecoder;
import java.security.Principal;
import java.util.Enumeration;
import java.util.HashMap;
@@ -103,12 +101,6 @@ public abstract class AuthenticationFilter extends DaggerFilter {
url = url.substring(1);
}
String fullUrl = url + (StringUtils.isEmpty(params) ? "" : ("?" + params));
- try {
- fullUrl = URLDecoder.decode(fullUrl, "UTF-8");
- } catch (UnsupportedEncodingException e) {
- logger.warn("UTF-8 decoding of URL failed: "+fullUrl, e);
- e.printStackTrace();
- }
return fullUrl;
}