Opened 6 years ago
Closed 5 years ago
#52146 closed defect (bug) (invalid)
get_self_link does not support SSL
| Reported by: | dshanske | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 5.3 |
| Severity: | minor | Keywords: | has-patch reporter-feedback |
| Cc: | Focuses: |
Description
The get_self_link function introduced in 5.3, which merely moved the code from self_link, will always return http links.
It should use, is_ssl() to determine if it returns http or https.
Attachments (1)
Change History (5)
#1
@
6 years ago
- Keywords has-patch added; needs-patch removed
Hi there!
52146.diff patch fix the ssl issue.
This ticket was mentioned in Slack in #core by hellofromtonya. View the logs.
6 years ago
#3
@
5 years ago
- Keywords reporter-feedback added
@dshanske Could you provide some steps to reproduce the issue?
get_self_link() uses set_url_scheme() which already sets the correct scheme based on is_ssl() so 52146.diff isn't necessary here.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch.