Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
105
Merge Requests
105
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
aa97bd80
Commit
aa97bd80
authored
Dec 20, 2013
by
Cédric de Saint Martin
Committed by
Rafael Monnerat
Jul 09, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Resilient stack] Don't show source code to user in case of crash.
parent
c7b7a21c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
stack/resilient/buildout.cfg
stack/resilient/buildout.cfg
+1
-1
stack/resilient/resilient-web-takeover-cgi-script.py.in
stack/resilient/resilient-web-takeover-cgi-script.py.in
+2
-2
No files found.
stack/resilient/buildout.cfg
View file @
aa97bd80
...
...
@@ -91,7 +91,7 @@ output = ${buildout:directory}/instance-frozen.cfg
[resilient-web-takeover-cgi-script-download]
recipe = slapos.recipe.download
url = ${:_profile_base_location_}/resilient-web-takeover-cgi-script.py.in
md5sum =
e6262c5cf9b1c4d1ea4d959fdcbe3070
md5sum =
51f4ed85dd6b033b7bd3d904b1629ab6
mode = 0644
destination = ${buildout:directory}/resilient-web-takeover-cgi-script.py.in
...
...
stack/resilient/resilient-web-takeover-cgi-script.py.in
View file @
aa97bd80
...
...
@@ -4,10 +4,10 @@ import cgitb
import os
import subprocess
import sys
cgitb.enable()
cgitb.enable(
display=0
)
print "Content-Type: text/html"
print
print
form = cgi.FieldStorage()
if "password" not in form:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment