Closed levifelling closed 8 years ago
Sadly no. It was decided last night to use plain text fields without any validation. Also be wary of scripts and html :-(
Please reopen this issue if we are going to change the current behavior of these being simple text entry fields
http://vendors.foodtrucks.codeforeauclaire.org/api/vendors
{ website_url: "website.com", facebook_url: "facebook.com" }
@Lowell20 does the backend do any validation on the user entered URLs? It would be preferable to return a full URL including the protocol
http://
orhttps://
so the client application doesn't need to do any guesswork to convert the value to a URL.