chiark
/
gitweb
/
~ian
/
cgi-auth-flexible.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e403fe1
)
wip
author
Ian Jackson
<ian.jackson@eu.citrix.com>
Fri, 11 Jan 2013 16:14:04 +0000
(16:14 +0000)
committer
Ian Jackson
<Ian.Jackson@eu.citrix.com>
Fri, 11 Jan 2013 16:14:04 +0000
(16:14 +0000)
cgi-auth-flexible.pm
patch
|
blob
|
history
diff --git
a/cgi-auth-flexible.pm
b/cgi-auth-flexible.pm
index 0ea969d648f46d33b091531476eb40bdf132844a..7f2f979c6e8846048a8255ec33b9015bf718cfb4 100644
(file)
--- a/
cgi-auth-flexible.pm
+++ b/
cgi-auth-flexible.pm
@@
-588,8
+588,10
@@
sub _check_divert_core ($) {
}
die unless $cookt eq 'y';
}
die unless $cookt eq 'y';
- die unless $parmt eq 'y';
- die unless $cookh eq $parmh;
+ unless ($r->{S}{promise_check_mutate} && $meth eq 'GET') {
+ die unless $parmt eq 'y';
+ die unless $cookh eq $parmh;
+ }
$r->{AssocSecret} = $cooks;
$r->{UserOK} = $cooku;
print STDERR "C-D-C OK\n";
$r->{AssocSecret} = $cooks;
$r->{UserOK} = $cooku;
print STDERR "C-D-C OK\n";