sul-cidr / scriptchart-backend

Admin UI and API for Scriptchart
https://db.syriac.reclaim.hosting/admin
MIT License
1 stars 0 forks source link

"Change coordinates" page won't accept spaces in the Binary URL #54

Closed broadwell closed 5 years ago

broadwell commented 5 years ago

I get an "Enter a valid URL." message when I attempt to update a coordinates item via the editing page (e.g., http://localhost:8000/admin/scripts/coordinates/135009/change/) if the Binary url field has spaces in the URL, regardless of whether I'm updating the URL or a different field. If I replace the spaces with %20 it accepts the updates.

The coordinates data are rarely changed via this interface, and I assume the Binary URLs are almost always entered via script (which contributes to the problem), but ideally this functionality would be supported.