A simple symfony 1.4 URL validator

A 0.5 improvement, is still an improvement.

As much as we’d like people to strictly fill in data into forms, they get annoyed and complain when the http:// prefix is mandatory. As such I had to create my own validator which is a little more permissive over symfony’s default URL validator.

Sometimes I really find user feedback bothersome.

Filed under Code