[PR #777] [MERGED] Exempt /add route from CSRF #4286

Closed
opened 2026-03-15 01:36:21 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/777
Author: @tjhorner
Created: 7/2/2021
Status: Merged
Merged: 7/2/2021
Merged by: @pirate

Base: devHead: exempt-add-from-csrf


📝 Commits (1)

  • cdcfb7f Exempt /add route from CSRF

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 archivebox/core/views.py (+3 -1)

📄 Description

Summary

This PR exempts the /add route from CSRF checks, so the ArchiveBox Exporter extension can use it as a pseudo-API while a real API is in the works.

Related issues

#577

Changes these areas

  • Bugfixes
  • Feature behavior
  • Command line interface
  • Configuration options
  • Internal architecture
  • Snapshot data layout on disk

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ArchiveBox/ArchiveBox/pull/777 **Author:** [@tjhorner](https://github.com/tjhorner) **Created:** 7/2/2021 **Status:** ✅ Merged **Merged:** 7/2/2021 **Merged by:** [@pirate](https://github.com/pirate) **Base:** `dev` ← **Head:** `exempt-add-from-csrf` --- ### 📝 Commits (1) - [`cdcfb7f`](https://github.com/ArchiveBox/ArchiveBox/commit/cdcfb7fa44703d147bec4788db6425c0847abc57) Exempt /add route from CSRF ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `archivebox/core/views.py` (+3 -1) </details> ### 📄 Description <!-- IMPORTANT: Do not submit PRs with only formatting / PEP8 / line length changes. --> # Summary This PR exempts the `/add` route from CSRF checks, so the [ArchiveBox Exporter](https://github.com/tjhorner/archivebox-exporter) extension can use it as a pseudo-API while a real API is in the works. # Related issues #577 # Changes these areas - [ ] Bugfixes - [ ] Feature behavior - [ ] Command line interface - [ ] Configuration options - [x] Internal architecture - [ ] Snapshot data layout on disk --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 01:36:21 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#4286
No description provided.