Commit 9c7f319
authored
Fix url in search result list when running at root context (jenkinsci#10725)
fix url when running at root
when the rootURL is empty the urls would start with a double slash which
is interpreted by browser like a complete url including domain. That
leads to non working links.
Use the same approach for the url as used by command pallete to include
the additional slash only when the url is not starting with a slash1 parent a2b5d82 commit 9c7f319
File tree
1 file changed
+1
-1
lines changed- core/src/main/resources/hudson/search/Search
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments