Skip to content

Commit 39c7db2

Browse files
committed
Merge pull request #62 from maclof/master
Resolved an issue when trying to create a redirect response which uses POST data.
2 parents b1696f5 + f41722c commit 39c7db2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Omnipay/Common/Message/AbstractResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function redirect()
100100
</form>
101101
</body>
102102
</html>';
103-
$output = sprintf($output, htmlspecialchars($this->redirectUrl, ENT_QUOTES, 'UTF-8'), $hiddenFields);
103+
$output = sprintf($output, htmlspecialchars($this->getRedirectUrl(), ENT_QUOTES, 'UTF-8'), $hiddenFields);
104104

105105
HttpResponse::create($output)->send();
106106
exit;

0 commit comments

Comments
 (0)