Skip to content

Commit 9fe8e5d

Browse files
committed
Merge branch 'craft-5' of https://github.com/verbb/formie into craft-5
2 parents 495ed29 + 4c8c675 commit 9fe8e5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/elements/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ public function getRedirectUrl(bool $checkLastPage = true, bool $includeQueryStr
10441044
}
10451045

10461046
// Handle any special characters defined in the URL and encode them properly
1047-
$url = htmlspecialchars($url);
1047+
$url = str_replace("&", "&", htmlspecialchars($url));
10481048

10491049
return $url;
10501050
}

0 commit comments

Comments
 (0)