diff --git a/src/main/twirl/gitbucket/core/repo/find.scala.html b/src/main/twirl/gitbucket/core/repo/find.scala.html index a5de59d..833fa5e 100644 --- a/src/main/twirl/gitbucket/core/repo/find.scala.html +++ b/src/main/twirl/gitbucket/core/repo/find.scala.html @@ -105,7 +105,9 @@ $(".no-results").hide(); for(var i = 0; i < p.length; i++){ var row = template.clone(); - row.find("a").attr("href", pathBase + "/" + p[i].string).html(string_score_highlight(p[i], '')); +// console.log('Path base: ' + pathBase); +// console.log('Path rest ' + p[i].string); + row.find("a").attr("href", pathBase + "/" + encodeURIComponent(p[i].string).replace('%2F', '/')).html(string_score_highlight(p[i], '')); if(cursor == i){ row.addClass("navigation-focus"); }