Opened 9 years ago
Closed 8 years ago
#28632 closed enhancement (wontfix)
`set_url_scheme()` should allow protocol-relative as a scheme argument
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Severity: | minor | Version: | 3.4 |
Component: | Formatting | Keywords: | has-patch |
Focuses: | Cc: |
Description
set_url_scheme()
accepts 'relative' as a scheme, but there's nothing for protocol-relative. I recently had a use for this.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Protocol-relative URLs are considered an anti-pattern these days, and
set_url_scheme()
could do without further complication.