We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pay.ideal.nl
1 parent 0d85b36 commit 552f169Copy full SHA for 552f169
app/controllers/members/payments_controller.rb
@@ -55,7 +55,10 @@ def pay_activities
55
end
56
57
# 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) && ['www.mollie.com'].include?(url.host)
+ if url.is_a?(URI::HTTP) && [
59
+ 'www.mollie.com', # staging
60
+ 'pay.ideal.nl' # production
61
+ ].include?(url.host)
62
redirect_to(url.to_s)
63
else
64
# Fallback to a safe default redirect if the URI is invalid or not in the whitelist
0 commit comments