cassproject / cass-editor

View, create, edit, modify frameworks using an easy to use, embeddable iframe.
https://cassproject.github.io/cass-editor/
Apache License 2.0
3 stars 11 forks source link

If adding property by URL in alignment and url ends in forward slash, then slash is added to beginning of url. #1343

Closed gloverkari closed 3 months ago

gloverkari commented 6 months ago

This issue was found while addressing the following ticket: https://github.com/cassproject/cass-editor/issues/827

Setting the url to a value ending in a '/' results in an incorrectly formatted url for the alignment.

image

image

image

gloverkari commented 5 months ago

Implemented a fix to update the url if needed before saving the relation.

sedula27 commented 4 months ago

Slash is not added to the beginning of the URL, verified and can be closed

sedula27 commented 3 months ago

Was able to verify this on production as well