Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Likely because you're not using http:// / https:// but it's a good note that it should give more information as well as it should redirect back with the error message on top.

Edit: or better yet, a little bit of javascript to catch it first. I'm really trying to use the minimal amount of JS possible.



I think HTML forms support pattern based validation, no js required.


I just looked up https://dev.to/joelbonetr/form-input-validation-without-java... and saw this, I'll look into implementing it via this strategy.


This is bad UX. people don’t use http anymore when writing urls.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: