We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d7ed4d commit 8f64144Copy full SHA for 8f64144
app/controllers/members/payments_controller.rb
@@ -56,9 +56,9 @@ def pay_activities
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) && [
59
- 'www.mollie.com', # staging
60
- 'pay.ideal.nl', # production
61
- ].include?(url.host)
+ 'www.mollie.com', # staging
+ 'pay.ideal.nl' # production
+ ].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