Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

input[url] validation regex is not valid #13379

Closed
@Noamyoungerm

Description

@Noamyoungerm

In v1.4.8 the validation scheme for url inputs was changed, causing valid URLs with semicolons, which previously passed the filter, to become invalid

Our application handles the generation of long urls with messy query strings to be used in advertising, so it's important to us that esoteric characters remain supported. Semicolons are valid URL characters

You can reproduce the error at the angular code example for a url input, try entering

http://www.test.com/asdf;df
http://www.test.com/asdf?asd=f;df=df

The fix is simply to add a semicolon to the last chunk of the validation regex here

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions