r100923 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r100922
|
r100923
|
r100924
>
Date:
00:51, 27 October 2011
Author:
khorn
Status:
ok
Tags:
fundraising
Comment:
Builds a minimal querystring with wfArrayToCGI() instead of manually with no escaping.
r97115
Modified paths:
/trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect.adapter.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect.adapter.php
—
—
@@ -727,7 +727,7 @@
728
728
*/
729
729
protected function stage_returnto( $type = 'request' ) {
730
730
if ( $type === 'request' ) {
731
- $this->postdata['returnto'] = $this->postdata['returnto'] . "?order_id=" . $this->postdata['order_id'];
731
+ $this->postdata['returnto'] = $this->postdata['returnto'] . '?' . wfArrayToCGI( array( 'order_id' => $this->postdata['order_id'] ) );
732
732
}
733
733
}
734
734
Follow-up revisions
Revision
Commit summary
Author
Date
r101857
follow-up to
r100923
and
r97115
- better method for constructing URL
kaldari
19:12, 3 November 2011
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r97115
Removing GC's ability to send credit card info
khorn
23:43, 14 September 2011
Status & tagging log
02:55, 27 October 2011
Jpostlethwaite
(
talk
|
contribs
)
changed the
tags
for r100923
[
added:
fundraising]
01:15, 27 October 2011
Awjrichards
(
talk
|
contribs
)
changed the
status
of r100923
[
removed:
new
added:
ok]