openrightsgroup / cmp-issues

Centralised issue-tracking for the Blocked backend
2 stars 0 forks source link

Leading spaces in site checking aren't being removed #255

Closed edjw closed 5 years ago

edjw commented 5 years ago

If you type a space before the URL or you paste in a URL with a space before it into the Unblock your website form it goes like this below

CleanShot 2019-06-03 at 10 21 39

We should probably strip spaces before they start being processed

dantheta commented 5 years ago

Added a whitespace strip before the frontend checks that the protocol is present.