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

L'URL du bookmarklet contient "https" alors que ma poche est en http #49

Closed
Gregoire-M opened this issue Apr 17, 2013 · 4 comments
Closed

Comments

@Gregoire-M
Copy link
Contributor

L'URL dans le bookmarklet est "https://poche.blabla..." alors que j'accès à poche via l'URL "http://poche.blabla...".
Du coup, le bookmarklet ne fonctionne pas tel quel, je dois enlever ce "s" pour le faire fonctionner.

@nicosomb
Copy link
Member

C'est parce que $_SERVER['HTTPS'] existe ... c'est dans inc/functions.php que ça se passe.
C'est surement lié à la configuration de ton serveur ou de ton vhost.
t'as une idée ?

@Gregoire-M
Copy link
Contributor Author

var_dump($_SERVER['HTTPS']) me renvoie : string(0) ""
Donc c'est set mais pas à "off"

Je suis sous nginx :)

@nicosomb
Copy link
Member

y'a "juste" à changer le test alors ?

@Gregoire-M
Copy link
Contributor Author

Oui je pense, il faut juste ajouter ce cas la.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants