From: Kai Moritz Date: Thu, 16 Jun 2016 11:58:11 +0000 (+0200) Subject: WIP: proxy X-Git-Tag: alt~28 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=c4db95ec6101f7d096a6c92cf21bf339ee9a2877;p=maven-thymeleaf-skin WIP: proxy --- 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; }