marshmallow icon indicating copy to clipboard operation
marshmallow copied to clipboard

:sparkles: Improve error messages for URL validation

Open ff137 opened this issue 1 year ago • 1 comments

Resolves #2243

ff137 avatar Oct 18 '24 09:10 ff137

I'd do it differently. In init function, build the error string from the parameters to specify the kind of URL that is expected (relative, absolute, FQDN,...).

I gave it a quick shot but didn't find a satisfying phrasing. It might look weird for a client to get a response mentioning FQDN for the (default) URL case.

lafrech avatar Oct 24 '24 22:10 lafrech