[dw-free] The parameter is URL escaped. Fix.
[commit: http://hg.dwscoalition.org/dw-free/rev/6d723288b164]
The parameter is URL escaped. Fix.
Patch by
mark.
Files modified:
The parameter is URL escaped. Fix.
Patch by
Files modified:
- htdocs/misc/hubbub.bml
--------------------------------------------------------------------------------
diff -r b2c0b0b8bf11 -r 6d723288b164 htdocs/misc/hubbub.bml
--- a/htdocs/misc/hubbub.bml Thu Sep 03 21:58:25 2009 +0000
+++ b/htdocs/misc/hubbub.bml Thu Sep 03 22:46:30 2009 +0000
@@ -63,6 +63,7 @@ _c?><?_code
# now figure out what they want
my ( $topicurl, $leasetime, $verifytoken, $challenge ) =
map { $GET{$_} } qw/ hub.topic hub.lease_seconds hub.verify_token hub.challenge /;
+ $topicurl = LJ::durl( $topicurl );
# sanity check the hub
return $err->( 'invalid topic' ) unless $topicurl =~ /^https?:/;
--------------------------------------------------------------------------------
