sissbruecker / linkding

Self-hosted bookmark manager that is designed be to be minimal, fast, and easy to set up using Docker.
MIT License
5.32k stars 261 forks source link

URL Validation should be optional #727

Closed ohare93 closed 1 month ago

ohare93 commented 1 month ago

I cannot add a bookmark as it is not valid.

Error saving bookmark: Validation error: {"url":["Enter a valid URL."]}

However the bookmark in question is a local environment override specific to my place of employment 😅 It is: http://octopus/app which takes one to the deployment application Octopus hosted on premises. So due to local (work VPN) network rules the link does work, but it is not technically a valid url.

Solution?

Let me ignore this error. Bring up a warning when I hit save on a url like this, but let me save it anyways with another click.

sissbruecker commented 1 month ago

https://github.com/sissbruecker/linkding/blob/master/docs/Options.md#ld_disable_url_validation

ohare93 commented 1 month ago

I don't want to disable the url validation. I like the feature, it is helpful incase one mistypes/miscopied the url in question. I just wish it wasn't so strict and could be overwritten on a case by case basis.