WIP: proxy
authorKai Moritz <kai@juplo.de>
Thu, 16 Jun 2016 11:58:11 +0000 (13:58 +0200)
committerKai Moritz <kai@juplo.de>
Thu, 16 Jun 2016 11:58:11 +0000 (13:58 +0200)
src/main/java/de/juplo/thymeproxy/ProxyHttpRequestHandler.java

index 2ea7762..8c52b26 100644 (file)
@@ -341,10 +341,7 @@ public class ProxyHttpRequestHandler
 
   public ProxyHttpRequestHandler setOrigin(String origin)
   {
-    if (origin.endsWith("/"))
-      this.origin = origin;
-    else
-      this.origin = origin + "/";
+    this.origin = origin;
     return this;
   }