]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Fix for ticket #2532: fixed API block create/destroy when specifying the target user...
authorBrion Vibber <brion@pobox.com>
Fri, 22 Oct 2010 20:51:28 +0000 (13:51 -0700)
committerBrion Vibber <brion@pobox.com>
Fri, 22 Oct 2010 20:51:28 +0000 (13:51 -0700)
commit2d124e4aabdc2f4c5a30c5b0b087bbfa1e7bac7b
tree8c768d5976059a0da5c1cbd263e597e97a9047d0
parent783f28c8b196bb22632c25f0007281be1449b0be
Fix for ticket #2532: fixed API block create/destroy when specifying the target user/profile as a separate query parameter, such as api/blocks/create.xml?param=xxx

The router settings weren't quite right so we ended up with bogus regex values passed in as the 'id' parameter, which broke the regular fallback ordering of parameter checks.
lib/router.php