-
Notifications
You must be signed in to change notification settings - Fork 9
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
SSL Checks (Bug In Scheme Detection) #61
Comments
Referencing internal ticket that led to this issue: https://websharks.zendesk.com/agent/tickets/7319 |
Done. Coming in the next release. |
Woohoo! |
@jaswsinc I noticed there was no changelog entry for this issue here: https://github.com/websharks/html-compressor/releases |
Next Release Changelog:
|
ZenCache Pro v150821 has been released and includes changes from this GitHub Issue. See the ZenCache Pro v150821 announcement for further details. This issue will now be locked to further updates. If you have something to add related to this GitHub Issue, please open a new GitHub Issue and reference this one (#61). |
We should probably update this line of code to force a specific data type. At present, this is assuming
SERVER_PORT
will be a string, but if a server is setting the value to an integer it might be causing some trouble. https://github.com/websharks/html-compressor/blob/150512/src/includes/classes/Core.php#L2861A similar issue here. This could also look for a boolean-ish true value.
https://github.com/websharks/html-compressor/blob/150512/src/includes/classes/Core.php#L2866
e.g.,
if(filter_var($_SERVER['HTTPS'], FILTER_VALIDATE_BOOLEAN))
The text was updated successfully, but these errors were encountered: