Opened 4 years ago
Closed 4 years ago
#52146 closed defect (bug) (invalid)
get_self_link does not support SSL
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 5.3 |
Component: | General | Keywords: | has-patch reporter-feedback |
Focuses: | Cc: |
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
@
4 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.
4 years ago
#3
@
4 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.
Patch.