Skip to content

Commit

Permalink
Uszczelnienie dostępu do plików in out
Browse files Browse the repository at this point in the history
  • Loading branch information
barnij committed Nov 26, 2019
1 parent 7363498 commit 9963ac9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Deny from all
Options +Indexes
</FilesMatch>

<Files ~ ".(txt|cpp|bap|py|mrram|exe)$">
<Files ~ "\.(txt|cpp|bap|py|mrram|exe|in|out)$">
Order allow,deny
Deny from all
</Files>
Expand Down Expand Up @@ -36,4 +36,4 @@ RewriteRule ^([A-Z0-9]+) /contest.php?id=$1
RewriteRule ^admin?$ /admin/index.php
RewriteRule ^account?$ /contest.php?account
RewriteRule ^results/([0-9]+) /functions/showresults.php?result=$1
RewriteRule ^submit/([A-Z0-9]+) /functions/showcode.php?submit=$1
RewriteRule ^submit/([A-Z0-9]+) /functions/showcode.php?submit=$1

0 comments on commit 9963ac9

Please sign in to comment.