Opened 12 years ago
Closed 11 years ago
#28632 closed enhancement (wontfix)
`set_url_scheme()` should allow protocol-relative as a scheme argument
| Reported by: | johnbillion | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Formatting | Version: | 3.4 |
| Severity: | minor | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Protocol-relative URLs are considered an anti-pattern these days, and
set_url_scheme()could do without further complication.