James Moger
2014-06-12 b1dad726772a277924ff7ced0e26dc443962edcf
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;
@@ -102,12 +100,6 @@
         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;
   }