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

ticket url in ticket email uses http link, not httpS link #26397

Closed
JonBendtsen opened this issue Oct 30, 2023 · 3 comments
Closed

ticket url in ticket email uses http link, not httpS link #26397

JonBendtsen opened this issue Oct 30, 2023 · 3 comments
Labels
Bug This is a bug (something does not work as expected)

Comments

@JonBendtsen
Copy link
Contributor

JonBendtsen commented Oct 30, 2023

Bug

In the email that someone gets when they create a ticket the ticket url is written using http, not httpS.

This is an automatic email to confirm you have registered a new ticket.

Information for monitoring the ticket
Ticket tracking number: *******************'
You can view the progress of the ticket by clicking the following link

Message sent by Ministry of Balboa via Dolibarr

But when I look in the TICKET MODULE SETUP I have https in this field
A public interface requiring no identification is available at the following url :

where as the Alternative URL for public interface field is empty.

Environment Version

18.0.1

Environment OS

upshift dolibarr docker image 18.0.1

Environment Web server

upshift dolibarr docker image 18.0.1

Environment PHP

PHP 8.2.10 (cli) (built: Aug 31 2023 20:34:52) (NTS)

Environment Database

1:11.0.3+maria~ubu2204

Environment URL(s)

/public/ticket/view.php?track_id=

Expected and actual behavior

Actual behaviour: ticket link comes without httpS

expected behavour: ticket link would use httpS

Steps to reproduce the behavior

enabling public ticket website
let user create a ticket
read email in users inbox

Attached files

No response

@JonBendtsen JonBendtsen added the Bug This is a bug (something does not work as expected) label Oct 30, 2023
@JonBendtsen
Copy link
Contributor Author

conf.php
$dolibarr_main_url_root='https://bad.example.net/dolibarr/';

yes, the hostname is edited.

@JonBendtsen
Copy link
Contributor Author

If I set Alternative URL for public interface to an https:// then the url in the emails does work. But I still think it should by default link to httpS even if I don't set anything in the Alternative URL field.

https://bad.example.net/dolibarr/public/ticket

@JonBendtsen
Copy link
Contributor Author

18.0.4 - issue seems to be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

1 participant