File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ Contributors for modifications:
2222 # herr-gabriel
2323 # Jess Stubenbord
2424 # Mike Weaver
25- # casdr
2625 # ... and all others I might have forgotten.
2726
2827
Original file line number Diff line number Diff line change 66# Licensed under the New BSD License.
77
88# Changelog
9- # 20160417 * Block index.php uploads
109# 20131121 * Update HTML/CSS for mobile devices
1110# * Add HTTPS support
1211# * Add HTTP basic authentication
@@ -837,7 +836,7 @@ class HTTPUploadHandler(BaseHTTPServer.BaseHTTPRequestHandler):
837836 continue
838837
839838
840- if filename .lower () == "index.html" or filename .lower () == "index.htm" or filename . lower () == "index.php" :
839+ if filename .lower () == "index.html" or filename .lower () == "index.htm" :
841840 self .send_response (303 )
842841 self .send_header ('Location' , '/' )
843842 self .end_headers ()
You can’t perform that action at this time.
0 commit comments