Compare commits
2 Commits
1d5272c299
...
f27631954e
Author | SHA1 | Date |
---|---|---|
pictuga | f27631954e | |
pictuga | c74abfa2f4 |
|
@ -4,6 +4,9 @@ ErrorDocument 403 "Access forbidden"
|
|||
ErrorDocument 404 /cgi/main.py
|
||||
ErrorDocument 500 "A very nasty bug found his way onto this very server"
|
||||
|
||||
# Work around for Safari
|
||||
Header set X-Content-Type-Options "nosniff"
|
||||
|
||||
<Files ~ "\.(py|pyc|db|log)$">
|
||||
deny from all
|
||||
</Files>
|
||||
|
|
|
@ -224,6 +224,7 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
//<![CDATA[
|
||||
document.getElementById("url").value = window.location.href
|
||||
|
||||
if (!/:html/.test(window.location.href))
|
||||
|
@ -236,8 +237,7 @@
|
|||
for (var select of document.forms[0].elements)
|
||||
if (select.tagName == 'SELECT')
|
||||
for (var option of select)
|
||||
if (option.value)
|
||||
if (options.match(option.value)) {
|
||||
if (option.value && options.match(option.value)) {
|
||||
select.value = option.value
|
||||
options = options.replace(option.value, '')
|
||||
break
|
||||
|
@ -269,6 +269,7 @@
|
|||
if (target != window.location.pathname)
|
||||
window.location.href = target
|
||||
}
|
||||
//]]>
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue