Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase limit on bookmark URL length #25

Closed
MaybeThisIsRu opened this issue Aug 9, 2020 · 1 comment · Fixed by #30
Closed

Increase limit on bookmark URL length #25

MaybeThisIsRu opened this issue Aug 9, 2020 · 1 comment · Fixed by #30
Labels
bug Something isn't working

Comments

@MaybeThisIsRu
Copy link

I tried to add a URL but got:

Ensure this value has at most 200 characters (it has 265).

This seems pretty low as clean URLs even without tracking/marketing parameters can often go beyond 200 chars. No such complaint was made for any link at the time of import so it does seem to work (or does it trim such URLs while importing?)

Would request for an increased limit on bookmark URL length.

@sissbruecker
Copy link
Owner

@hirusi Good catch! The model did not specify a limit, however Django applies a default limit of 200. Increase the limit to 2048 for now. Removing the limit would also be possible but is a larger change with setting up a custom URL field including validation.

@sissbruecker sissbruecker added the bug Something isn't working label Dec 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants