cinema6 / minireelinator

0 stars 1 forks source link

Studio Should Not Allow Base64 Encoded Image URLs for Logos #673

Closed minznerjosh closed 9 years ago

minznerjosh commented 9 years ago

to @sqmunson

So, in the Sponsorship Manager, Campaign Editor, anywhere where we let a user paste an image URL, we should make sure it is a URL and not some other nonsense.

sqmunson commented 9 years ago

I use these regexes in Proshop: Image URL: /^(http:\/\/|https:\/\/)([\w-]+.)+[\w-]+\/([\w-]+(\/)?)+(.)(\w{3,4})$/ General URL: /^(http:\/\/|https:\/\/)([\w-]+.)+[\w-]+(\/([\w-]+(\/)?))$/