Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Do not render contact form if it is requested directly by Spammers

未關閉
#420 9 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

@pppls 已經在處理了。

開始於 2021年10月2日。

  • #451 來自 @pppls —— 未關閉

評估

難度
5/5
預估耗時
一週以上
新手友好度
25/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
django, python
領域
backend, security

研究方向

首先追蹤 /contact 頁面及其 contact-form 處理入口;issue 未指出任何原始檔案或測試。確認是否支援直接請求和按用戶端設定的 honeypot 欄位,然後在實作前定義並記錄預期行為。

由索引模型根據 Issue 內容生成。

描述

Needs Research

Despite the anti-spam honeypot, I keep getting spam emails bothering me to renew my domain name or buy their "contact us" form spam services.

Legitimate users would access my website first and then go to the /contact page to submit the form. How can I display an error page instead of the "contact form" for those spammy clients who are hitting my /contact page directly?

I do not want to insert any filtering rules on the frontend webserver, because referrer can be spoofed and Codered sends csrftoken cookie only for form submission. Some commercial proxy servers even remove referrer header in http request.

Is it possible to use a different honeypot field for each client? Such as, different radio and input fields?

主要語言
Python
星號
761
分支
153
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

coderedcorp/coderedcms 的其他 Issue

查看 coderedcorp/coderedcms 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。