aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-05-05 12:25:58 +0300
committerGravatar Vitaly Takmazov2017-05-05 13:30:44 +0300
commitb71d0359d4d665188624579907209bdaea2a02d8 (patch)
tree4c0bcdc8ca1ac712bb39d6531592c8d0e6572388 /juick-www/src/main/java/com
parent6ee1be48428ad6b83b22818984241aa8d85766bd (diff)
juick-www: fix sape
Diffstat (limited to 'juick-www/src/main/java/com')
-rw-r--r--juick-www/src/main/java/com/juick/www/controllers/Home.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-www/src/main/java/com/juick/www/controllers/Home.java b/juick-www/src/main/java/com/juick/www/controllers/Home.java
index 22cf4b90..6aa18526 100644
--- a/juick-www/src/main/java/com/juick/www/controllers/Home.java
+++ b/juick-www/src/main/java/com/juick/www/controllers/Home.java
@@ -192,7 +192,7 @@ public class Home {
}
UriComponents builder = ServletUriComponentsBuilder.fromCurrentRequestUri().build();
String queryString = builder.getQuery();
- String requestURI = builder.toUri().toString();
+ String requestURI = builder.toUri().getPath();
if (sape != null && visitor.getUid() == 0 && queryString == null) {
String links = sape.getPageLinks(requestURI, sapeCookie).render();
model.addAttribute("links", links);