Lines 420 and 426 of 7-1.2 contain a flaw. They effectively run the $_GET['q'] and the first query string parameter together.
In practice, that means if your url is http://domain.com/example?one=1&two=2, only $_GET['two'] will be set for programming tasks meant to occur within your block.
Patch attached. Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | ajaxblock-7.1.2-patch.txt | 1.08 KB | bartclarkson |
| ajaxblock-7.1.2-patch.txt | 1.07 KB | bartclarkson |
Comments
Comment #1
bartclarkson commentedPatch modified slightly to be in keeping with Drupal code standards.
Comment #2
maximpodorov commentedThank you very much. These commits fix the problem:
http://drupalcode.org/project/ajaxblocks.git/commit/77e5e5a
http://drupalcode.org/project/ajaxblocks.git/commit/cd3911f
Comment #3
bartclarkson commentedAwesome.