From 7b1e6a70ff8902a8ba359c2301b4e1e3ed7903e1 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Mon, 27 Apr 2020 20:48:40 -0600 Subject: [PATCH] Do not escape the '#' in Starting & Accessing redirect The 'NE' flag is used successfully with the other URL in the rewrite which uses an ID inside the page. Use it here as well. --- dist/profile/templates/confluence/vhost.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/profile/templates/confluence/vhost.conf b/dist/profile/templates/confluence/vhost.conf index 19ff86f198..f15ed7d54e 100644 --- a/dist/profile/templates/confluence/vhost.conf +++ b/dist/profile/templates/confluence/vhost.conf @@ -2993,7 +2993,7 @@ RewriteRule "^/display/JENKINS/Logging$" "https://jenkins.io/doc/book/system-adm RewriteCond %{HTTP_USER_AGENT} !^jenkins-wiki-exporter/(.*)$ RewriteRule "^/display/JENKINS/Jenkins\+Script\+Console$" "https://jenkins.io/doc/book/managing/script-console/" [NC,L,QSA,R=301] RewriteCond %{HTTP_USER_AGENT} !^jenkins-wiki-exporter/(.*)$ -RewriteRule "^/display/JENKINS/Starting\+and\+Accessing\+Jenkins$" "https://jenkins.io/doc/book/installing/#configuring-http" [NC,L,QSA,R=301] +RewriteRule "^/display/JENKINS/Starting\+and\+Accessing\+Jenkins$" "https://jenkins.io/doc/book/installing/#configuring-http" [NE,NC,L,QSA,R=301] RewriteCond %{HTTP_USER_AGENT} !^jenkins-wiki-exporter/(.*)$ RewriteRule "^/display/JENKINS/Features\+controlled\+by\+system\+properties$" "https://jenkins.io/doc/book/managing/system-properties/" [NC,L,QSA,R=301] RewriteCond %{HTTP_USER_AGENT} !^jenkins-wiki-exporter/(.*)$