Trim url field value