Permalink
Browse files

Minor fixed in .htaccess

  • Loading branch information...
mario
mario committed Apr 1, 2014
1 parent 3c985c3 commit 7a32430f8d0de28c01c528117b5431a25c33dafd
Showing with 1 addition and 1 deletion.
  1. +1 −1 r/.htaccess
View
@@ -1,2 +1,2 @@
RewriteEngine On
-RewriteRule ^([^/]*)(/(?:[^/]*))? index.php?payload=$1&code=$2 [L]
+RewriteRule ^([^/]+)/([^/]+)? index.php?payload=$1&code=$2 [L]

4 comments on commit 7a32430

@fuzzyroddis

This comment has been minimized.

Show comment
Hide comment
@fuzzyroddis

fuzzyroddis Apr 2, 2014

Contributor

What about:
https://html5sec.org/r/data (no trailing slash)

Contributor

fuzzyroddis replied Apr 2, 2014

What about:
https://html5sec.org/r/data (no trailing slash)

@cure53

This comment has been minimized.

Show comment
Hide comment
@cure53

cure53 Apr 2, 2014

Owner

I know, strangely your regex did not work on my box, I blame it on a version-based behavior difference. The website H5SC is hosted on is a small VPS so everything is a bit orthodox version-wise.

Owner

cure53 replied Apr 2, 2014

I know, strangely your regex did not work on my box, I blame it on a version-based behavior difference. The website H5SC is hosted on is a small VPS so everything is a bit orthodox version-wise.

@fuzzyroddis

This comment has been minimized.

Show comment
Hide comment
@fuzzyroddis

fuzzyroddis Apr 3, 2014

Contributor

For reference I was running: Apache 2.2.22-14

Contributor

fuzzyroddis replied Apr 3, 2014

For reference I was running: Apache 2.2.22-14

@cure53

This comment has been minimized.

Show comment
Hide comment
@cure53

cure53 Apr 3, 2014

Owner

The H5SC is on a Apache 2.2.14 - maybe that's the reason?

Owner

cure53 replied Apr 3, 2014

The H5SC is on a Apache 2.2.14 - maybe that's the reason?

Please sign in to comment.