mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[GH-ISSUE #1688] Bug: URL Length seems to be limited to 200 characters #2519
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#2519
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mapleshadow on GitHub (Jul 16, 2025).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1688
Originally assigned to: @pirate on GitHub.
Provide a screenshot and describe the bug
I've seen users raise this issue before, but it was merged. It shouldn't be merged; this is a separate error. On the project editing interface, if the URL length exceeds 200 characters, the edited content cannot be saved. Therefore, this error must be corrected, and the URL length should not be limited.
Steps to reproduce
Logs or errors
ArchiveBox Version
How did you install the version of ArchiveBox you are using?
Docker (or Podman/LXC/K8s/TrueNAS/Proxmox/etc)
What operating system are you running on?
Linux (Ubuntu/Debian/Arch/Alpine/etc.)
What type of drive are you using to store your ArchiveBox data?
data/is on a local SSD or NVMe drivedata/is on a spinning hard drive or external USB drivedata/is on a network mount (e.g. NFS/SMB/Ceph/GlusterFS/etc.)data/is on a FUSE mount (e.g. SSHFS/RClone/S3/B2/Google Drive/Dropbox/etc.)Docker Compose Configuration
ArchiveBox Configuration
@pirate commented on GitHub (Dec 29, 2025):
@claude can you fix this on dev, lets cap url length at 1600 for now
@claude[bot] commented on GitHub (Dec 29, 2025):
Claude finished @pirate's task in 2m 30s —— View job •
claude/issue-1688-20251229-2233• Create PR ➔URL length limit fix complete ✓
Task: Increase URL field length limit from 200 to 1600 characters on dev branch.
Tasks
Changes Made
Model Update
Snapshot.urlfield inarchivebox/core/models.py:284to includemax_length=1600Migration
archivebox/core/migrations/0025_alter_snapshot_url_max_length.pyAlterFieldoperation to update the field definitionarchivebox initor migrationsTesting Notes
The fix addresses the issue where URLs exceeding 200 characters could not be saved in the Admin UI. With the new 1600 character limit, users should be able to save much longer URLs (typical long URLs with query parameters, tracking codes, etc. should fit comfortably).
Note: SQLite (the default database) stores TEXT fields without strict length enforcement at the database level, but Django enforces the max_length constraint at the model/form level, which is where the 200-character limitation was causing the issue.
| Branch