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

Slug is limited to 255 chars #13

Open
vlados opened this issue Sep 11, 2022 · 1 comment
Open

Slug is limited to 255 chars #13

vlados opened this issue Sep 11, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@vlados
Copy link
Owner

vlados commented Sep 11, 2022

Currently in the migration the slug is using string() function which is setting the column to varchar(255)
Needs to be changed to text() which not have limit

@vlados
Copy link
Owner Author

vlados commented Feb 2, 2023

The official documentation specifies a maximum length of 2048 characters for the element, which is used to submit URLs: URL of the page. This URL must begin with the protocol (e.g. “http”) and end with a trailing slash if required by the web server. This value must not exceed 2,048 characters.

… but this include the domain which is not part of the ‘slug’

@vlados vlados added the bug Something isn't working label Mar 27, 2023
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

No branches or pull requests

1 participant