[Frontend] Validate HTTPS protocol requirement in WebhookModal URL input field
I maintainer di solito rispondono entro 7 giorni
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- next.js, typescript
Direzione di ricerca
The issue names frontend/src/components/webhooks/WebhookModal.tsx. Read the URL input and submit button handling there, then check the linked pull request #1681 to see how the work is already being addressed. Done means invalid and non-local HTTP URLs are rejected with an inline error and the submit button stays disabled, while HTTPS and loopback URLs are allowed.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Overview
In frontend/src/components/webhooks/WebhookModal.tsx, users registering a webhook endpoint can enter insecure http:// URLs or malformed strings before submitting to the backend.
Problem
- Production webhook deliveries require
https://(excepthttp://localhostin local development), causing form submission errors that could be caught immediately on the client.
Proposed Changes
- Add client-side URL validation in
WebhookModal.tsxchecking that the URL parses vianew URL()and useshttps:(orhttp://localhost/http://127.0.0.1). - Render a helpful inline error message below the input when an invalid URL is entered.
Acceptance Criteria
- Rejects invalid URLs and plain
http://non-localhost endpoints before submission. - Allows
https://and local loopback addresses for testing. - Submit button remains disabled while the URL is invalid.
- Lingua principale
- TypeScript
- Stelle
- 18
- Fork
- 250
- Merge medio
- 5g 6h
- PR unite (30g)
- 82
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di LabsCrypt/flowfi
-
backend points: 150 testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 7 giorni
-
backend points: 150 testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 7 giorni
-
backend points: 150 testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 7 giorni
-
backend points: 150 testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 7 giorni
-
backend points: 150 testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 7 giorni
Tutte le issue di LabsCrypt/flowfi
Issue simili
-
bug skills
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
equinor/fusion-framework#5846 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 74/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
Eyevinn/open-videocore#1256 ·
I maintainer di solito rispondono entro 1 giorno
-
Frontend build fails with Frappe version-16: DataImport is no longer exported by @framework/uiApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Theme preset geist points at undefined --font-geistForse già presa @claude l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
I maintainer di solito rispondono entro 1 giorno