Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SCODOC_R6A06
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Paul Milleville
SCODOC_R6A06
Commits
87aaf12d
Commit
87aaf12d
authored
1 year ago
by
Emmanuel Viennet
Browse files
Options
Downloads
Patches
Plain Diff
Protect against Reflected XSS on home page (and other exception-handling pages)
parent
c8ab9b9b
Branches
master
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/templates/error_access_denied.j2
+1
-1
1 addition, 1 deletion
app/templates/error_access_denied.j2
app/templates/sco_value_error.j2
+1
-1
1 addition, 1 deletion
app/templates/sco_value_error.j2
with
2 additions
and
2 deletions
app/templates/error_access_denied.j2
+
1
−
1
View file @
87aaf12d
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<h2>Accès non autorisé</h2>
<h2>Accès non autorisé</h2>
{{ exc
| safe
}}
{{ exc }}
<p class="footer">
<p class="footer">
{% if g.scodoc_dept %}
{% if g.scodoc_dept %}
...
...
This diff is collapsed.
Click to expand it.
app/templates/sco_value_error.j2
+
1
−
1
View file @
87aaf12d
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<h2>Erreur !</h2>
<h2>Erreur !</h2>
{{ exc
| safe
}}
{{ exc }}
<div style="margin-top: 16px;">
<div style="margin-top: 16px;">
{% if g.scodoc_dept %}
{% if g.scodoc_dept %}
...
...
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