Donation page link allows external links but validation fails

Created on 22 May 2024, 6 months ago
Updated 23 May 2024, 6 months ago

Problem/Motivation

When external links are added, it throws this error :

InvalidArgumentException: The user-entered string 'YMCA 2024 Annual Campaign ' must begin with a '/', '?', or '#'. in Drupal\Core\Url::fromUserInput()

We should fix the code so it allows for external links.

Steps to reproduce

🐛 Bug report
Status

RTBC

Version

2.0

Component

Code

Created by

🇺🇦Ukraine aleevas

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024