xbrowsersync / api

Server-side REST API that serves requests from xBrowserSync client apps
GNU General Public License v3.0
796 stars 83 forks source link

Bookmark URL truncation updates fail #19

Closed tlindsay42 closed 5 years ago

tlindsay42 commented 5 years ago

Noticed that when I attempt to update the URL of a previously saved bookmark, it consistently fails to update if it is a subset of the existing URL (eg: https://github.com/tlindsay42 -> https://github.com/tlindsay4).

Error message: URL has already been bookmarked

image

Workaround: Insert a character into the base string so that it is no longer matches the parent and then update it again to the desired URL (eg: https://github.com/tlindsay42 -> https://g*r*ithub.com/tlindsay4 -> https://github.com/tlindsay4).

nero120 commented 5 years ago

Thanks @tlindsay42, though as this is an app rather than api issue could you please re-open in the app issues list? Cheers! 🙏

tlindsay42 commented 5 years ago

Whoops! Just found that https://github.com/xbrowsersync/app/issues/62 has already been opened for this one. Thanks @nero120!.

nero120 commented 5 years ago

Ah yes! Thanks mate.