Skip to content

Commit 16bb99d

Browse files
author
Christopher Zentgraf
committed
Fix 400 error on percent encoded URLs
1 parent 59956b8 commit 16bb99d

8 files changed

+8
-8
lines changed

web-server/apache/gitlab-apache22.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
RewriteEngine on
3535

3636
#Don't escape encoded characters in api requests
37-
RewriteCond %{REQUEST_URI} ^/api/v3/.* [OR]
37+
RewriteCond %{REQUEST_URI} ^/api/v3/.*
3838
RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA,NE]
3939

4040
#Forward all requests to gitlab-workhorse except existing files like error documents

web-server/apache/gitlab-apache24.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
RewriteEngine on
3636

3737
#Don't escape encoded characters in api requests
38-
RewriteCond %{REQUEST_URI} ^/api/v3/.* [OR]
38+
RewriteCond %{REQUEST_URI} ^/api/v3/.*
3939
RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA,NE]
4040

4141
#Forward all requests to gitlab-workhorse except existing files like error documents

web-server/apache/gitlab-omnibus-apache22.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
RewriteEngine on
3636

3737
#Don't escape encoded characters in api requests
38-
RewriteCond %{REQUEST_URI} ^/api/v3/.* [OR]
38+
RewriteCond %{REQUEST_URI} ^/api/v3/.*
3939
RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA,NE]
4040

4141
#Forward all requests to gitlab-workhorse except existing files like error documents

web-server/apache/gitlab-omnibus-apache24.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
RewriteEngine on
3737

3838
#Don't escape encoded characters in api requests
39-
RewriteCond %{REQUEST_URI} ^/api/v3/.* [OR]
39+
RewriteCond %{REQUEST_URI} ^/api/v3/.*
4040
RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA,NE]
4141

4242
#Forward all requests to gitlab-workhorse except existing files like error documents

web-server/apache/gitlab-omnibus-ssl-apache22.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
RewriteEngine on
6262

6363
#Don't escape encoded characters in api requests
64-
RewriteCond %{REQUEST_URI} ^/api/v3/.* [OR]
64+
RewriteCond %{REQUEST_URI} ^/api/v3/.*
6565
RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA,NE]
6666

6767
#Forward all requests to gitlab-workhorse except existing files like error documents

web-server/apache/gitlab-omnibus-ssl-apache24.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
RewriteEngine on
6363

6464
#Don't escape encoded characters in api requests
65-
RewriteCond %{REQUEST_URI} ^/api/v3/.* [OR]
65+
RewriteCond %{REQUEST_URI} ^/api/v3/.*
6666
RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA,NE]
6767

6868
#Forward all requests to gitlab-workhorse except existing files like error documents

web-server/apache/gitlab-ssl-apache22.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
RewriteEngine on
6161

6262
#Don't escape encoded characters in api requests
63-
RewriteCond %{REQUEST_URI} ^/api/v3/.* [OR]
63+
RewriteCond %{REQUEST_URI} ^/api/v3/.*
6464
RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA,NE]
6565

6666
#Forward all requests to gitlab-workhorse except existing files like error documents

web-server/apache/gitlab-ssl-apache24.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
RewriteEngine on
6262

6363
#Don't escape encoded characters in api requests
64-
RewriteCond %{REQUEST_URI} ^/api/v3/.* [OR]
64+
RewriteCond %{REQUEST_URI} ^/api/v3/.*
6565
RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA,NE]
6666

6767
#Forward all requests to gitlab-workhorse except existing files like error documents

0 commit comments

Comments
 (0)