Skip to content

Commit fd37db3

Browse files
committed
fix: update mollie host
1 parent afda016 commit fd37db3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/members/payments_controller.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def pay_activities
5555
end
5656

5757
# Check if it's a valid URI and matches your whitelist of acceptable domains (e.g., only http(s)://example.com)
58-
if url.is_a?(URI::HTTP) && ['mollie.com'].include?(url.host)
58+
if url.is_a?(URI::HTTP) && ['www.mollie.com'].include?(url.host)
5959
redirect_to(url.to_s)
6060
else
6161
# Fallback to a safe default redirect if the URI is invalid or not in the whitelist

0 commit comments

Comments
 (0)