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