- Issue created by @kanchamk
- Status changed to Needs work
7 months ago 8:24am 15 May 2024
Special characters in international phone field like slash (other than hyphen and plus) throwing an InvalidArgumentException: The URI 'tel:0176/20785529' is invalid. You must use a valid URI scheme. in Drupal\Core\Url::fromUri() (line 282 of D:\xampp\htdocs\***\web\core\lib\Drupal\Core\Url.php).
Create the International Phone field in user account settings(/admin/config/people/accounts/fields), Import the users with international phone value from csv file, here International phone data will be imported from csv with slashes added in csv as there is no validation for International Phone field during import via custom code. Now create the view as page using user fields and attach the data export(csv) to that view. Access the view page url and try to click on csv download that is attached to it, it throws a website encountered error.
Needs work
3.0
Code