projects
/
bookreader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4b10eac
)
Allow GET or POST
author
Michael Ang
<mang@archive.org>
Fri, 28 Jan 2011 02:52:38 +0000
(
02:52
+0000)
committer
Michael Ang
<mang@archive.org>
Fri, 28 Jan 2011 02:52:38 +0000
(
02:52
+0000)
BookReaderIA/www/BookReaderAuth.php
patch
|
blob
|
history
diff --git
a/BookReaderIA/www/BookReaderAuth.php
b/BookReaderIA/www/BookReaderAuth.php
index
878a6b6
..
1a82afe
100644
(file)
--- a/
BookReaderIA/www/BookReaderAuth.php
+++ b/
BookReaderIA/www/BookReaderAuth.php
@@
-18,10
+18,10
@@
This file is part of BookReader.
along with BookReader. If not, see <http://www.gnu.org/licenses/>.
*/
along with BookReader. If not, see <http://www.gnu.org/licenses/>.
*/
-$id = $_
PO
ST['id'];
-$uuid = $_
PO
ST['uuid'];
-$token = $_
PO
ST['token'];
-$bookPath = $_
PO
ST['bookPath'];
+$id = $_
REQUE
ST['id'];
+$uuid = $_
REQUE
ST['uuid'];
+$token = $_
REQUE
ST['token'];
+$bookPath = $_
REQUE
ST['bookPath'];
if (!preg_match('/^\d{10}-[0-9a-f]{32}$/', $token)) {
fatal();
if (!preg_match('/^\d{10}-[0-9a-f]{32}$/', $token)) {
fatal();