Skip to content

Scheme error with https #35

@msann86

Description

@msann86

Hi there,

it seems that SSL pages are not handled properly, leading to empty results of uls_get_user_language_from_url.

What I've found is a literal http://, which should be resolved to something llike $scheme . '://'
where $scheme could default to 'http' and rely on the wordpress function is_ssl() for switching to 'https'.
As mentioned in several discussions, $_SERVER['REQUEST_SCHEME'] is not recommended.

Best regards,
Marc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions