Opened 51 minutes ago
Last modified 40 minutes ago
#37277 assigned Bug
Update: Extending URLField to Support WebSocket Schemas (ws:// & wss://)
| Reported by: | sepehrnorouzi | Owned by: | sepehrnorouzi |
|---|---|---|---|
| Component: | Core (URLs) | Version: | 6.1 |
| Severity: | Normal | Keywords: | URLField, wss, websocket, validator |
| Cc: | sepehrnorouzi | Triage Stage: | Unreviewed |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
Hi everyone,
I'd like to flag a blocker regarding our model fields—the current URLField validator rejects ws:// and wss:// schemas, which prevents us from storing WebSocket server endpoints.
I've already prepared a fix that adds the necessary schemes and includes the accompanying test suite. The branch is fully ready for peer review.
However, I'm running into a permissions blocker and cannot push the branch to our remote repository at the moment. Could someone please either grant me write access to the required branch or let me know the preferred way to submit this change?
Thanks in advance!
Attachments (1)
Change History (2)
by , 49 minutes ago
| Attachment: | validators.py added |
|---|
comment:1 by , 40 minutes ago
| Cc: | added |
|---|---|
| Owner: | set to |
| Status: | new → assigned |
I have the tests and the doc changes.