diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-01-24 13:16:51 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-01-24 13:16:51 +0100 |
commit | 3ba4dac28e917a9d9d86f7879093a84ea8419d0f (patch) | |
tree | d489ea98102a070e9e99b6920a229ec2a87ccf24 /vespaclient-container-plugin | |
parent | 5b01e13c4654946496c6f0bb2b4834e47d2b18d1 (diff) |
Wire in access to the raw original uri.
Diffstat (limited to 'vespaclient-container-plugin')
-rw-r--r-- | vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/RestApi.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/RestApi.java b/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/RestApi.java index 6a7797c20a7..fc6d20c06b8 100644 --- a/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/RestApi.java +++ b/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/resource/RestApi.java @@ -115,7 +115,7 @@ public class RestApi extends LoggingRequestHandler { protected HttpResponse handleInternal(HttpRequest request) { final RestUri restUri; try { - restUri = new RestUri(request.getUri()); + restUri = new RestUri(request.getRawUri()); } catch (RestApiException e) { return e.getResponse(); } catch (Exception e2) { |