mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
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#4269
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?
📋 Pull Request Information
Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/632
Author: @aspensmonster
Created: 1/24/2021
Status: ✅ Merged
Merged: 1/28/2021
Merged by: @pirate
Base:
dev← Head:bugfix/issue-617📝 Commits (3)
1989275Fix issue #617 by using mark_safe in combination with format_htmlb647581Update archivebox/index/html.py1810426Remove now-unused mark_safe import📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
archivebox/index/html.py(+1 -1)📄 Description
I have no experience with Django, so all I'm really going off of is this
stackoverflow
https://stackoverflow.com/a/64498319
which cited this bit of Django documentation:
https://docs.djangoproject.com/en/3.1/ref/utils/#django.utils.html.format_html
After using this method, I no longer get the 500 error or KeyError
exception, and can browse the local server and interact with the single
entry in it (the problematic URL in ArchiveBox#617 with curly braces).
Whether this is the "right" method or not, I have no idea. But it is at
least a start.
Summary
Fixes 500 errors on /public/ URL, experienced in issue #617. May not completely resolve all issues in #617.
Related issues
None.
Changes these areas
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.