Fixed Client-side "Home page URL" validation doesn't allow relative URL but server-side validation does

Steffen

Well-known member
Affected version
2.0.2
At least in Google Chrome, the "Home page URL" option does not accept entering "/" because of the input field's attribute type="url" and because of Chrome's default client-side form validation for URL input fields. But a relative URL like "/" seems to be working fine and XenForo happily accepts it if I change the attribute to type="text".

Either the server-side validation should forbid relative URLs, too, or the client-side validation should be less strict. I'd prefer the latter and change the input field to type="text".
 
Back
Top Bottom