Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitnami/opencart] Fix opencart admin urls on OPENCART_ENABLE_HTTPS=true #64995

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

kirilovvv
Copy link
Contributor

Signed-off-by: Kirilov <kirilov@clolytic.bg>
@carrodher carrodher added verify Execute verification workflow for these changes in-progress labels Apr 9, 2024
@github-actions github-actions bot removed the triage Triage is needed label Apr 9, 2024
@github-actions github-actions bot removed the request for review from javsalgar April 9, 2024 14:32
Comment on lines +339 to +340
opencart_conf_set HTTPS_SERVER "${http_url}/administration/" "$OPENCART_ADMIN_CONF_FILE"
opencart_conf_set HTTPS_CATALOG "${http_url}/" "$OPENCART_ADMIN_CONF_FILE"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is setting the HTTPS_xxx environment variables needed for the case of HTTP ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe similar issue could happen if those are not set properly when OPENCART_ENABLE_HTTPS is false.
Also in this way it will be consistent with the configuration for the client area:

opencart_conf_set HTTP_SERVER "${http_url}/"
opencart_conf_set HTTPS_SERVER "${http_url}/"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rafariossaa were you able to check this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay. I am checking this.

Copy link
Contributor

@rafariossaa rafariossaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

I am merging this change, the new image that includes it should be released in a few hours.

@rafariossaa rafariossaa merged commit c2ab13c into bitnami:main Apr 24, 2024
35 checks passed
@rafariossaa
Copy link
Contributor

The release the includes this fix is: 4.0.2-3-debian-12-r28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
opencart solved verify Execute verification workflow for these changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants