Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dsa-puppet
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian System Administrators
mirror
dsa-puppet
Commits
3ce41982
Unverified
Commit
3ce41982
authored
5 years ago
by
Paul Wise
Browse files
Options
Downloads
Patches
Plain Diff
Redirect unsetlang to the correct location
The substitution was using the wrong match group. Fixes: commit
eef0d122
parent
355b1a42
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/roles/templates/apache-www.debian.org.erb
+1
-1
1 addition, 1 deletion
modules/roles/templates/apache-www.debian.org.erb
with
1 addition
and
1 deletion
modules/roles/templates/apache-www.debian.org.erb
+
1
−
1
View file @
3ce41982
...
...
@@ -142,7 +142,7 @@
RewriteCond %{REQUEST_METHOD} ^POST$
RewriteRule /intro/cn/setlang/([a-z]{2}(?:-[a-z]{2})?)/(.*) /$2 [last,redirect,cookie=lang:$1:%{HTTP_HOST}:40320:/:secure:]
RewriteCond %{REQUEST_METHOD} ^POST$
RewriteRule /intro/cn/unsetlang/(.*) /$
2
[last,redirect,cookie=lang:invalid:%{HTTP_HOST}:-1:/:secure:]
RewriteRule /intro/cn/unsetlang/(.*) /$
1
[last,redirect,cookie=lang:invalid:%{HTTP_HOST}:-1:/:secure:]
SetEnvIf Cookie "lang=(.+)" prefer-language=$1
Header append Vary cookie
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment