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)

validators.py (21.9 KB ) - added by sepehrnorouzi 49 minutes ago.
I have the tests and the doc changes.

Download all attachments as: .zip

Change History (2)

by sepehrnorouzi, 49 minutes ago

Attachment: validators.py added

I have the tests and the doc changes.

comment:1 by sepehrnorouzi, 40 minutes ago

Cc: sepehrnorouzi added
Owner: set to sepehrnorouzi
Status: newassigned
Note: See TracTickets for help on using tickets.
Back to Top