From c4db95ec6101f7d096a6c92cf21bf339ee9a2877 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Thu, 16 Jun 2016 13:58:11 +0200 Subject: [PATCH] WIP: proxy --- .../java/de/juplo/thymeproxy/ProxyHttpRequestHandler.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/de/juplo/thymeproxy/ProxyHttpRequestHandler.java b/src/main/java/de/juplo/thymeproxy/ProxyHttpRequestHandler.java index 2ea7762..8c52b26 100644 --- a/src/main/java/de/juplo/thymeproxy/ProxyHttpRequestHandler.java +++ b/src/main/java/de/juplo/thymeproxy/ProxyHttpRequestHandler.java @@ -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; } -- 2.20.1