{"action":"created","issue":{"url":"https://api.github.com/repos/BoboTiG/blogotext/issues/159","repository_url":"https://api.github.com/repos/BoboTiG/blogotext","labels_url":"https://api.github.com/repos/BoboTiG/blogotext/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/BoboTiG/blogotext/issues/159/comments","events_url":"https://api.github.com/repos/BoboTiG/blogotext/issues/159/events","html_url":"https://github.com/BoboTiG/blogotext/issues/159","id":191873311,"number":159,"title":"[VHOST] besoin de vos cellules grises...","user":{"login":"remrem","id":497268,"avatar_url":"https://avatars.githubusercontent.com/u/497268?v=3","gravatar_id":"","url":"https://api.github.com/users/remrem","html_url":"https://github.com/remrem","followers_url":"https://api.github.com/users/remrem/followers","following_url":"https://api.github.com/users/remrem/following{/other_user}","gists_url":"https://api.github.com/users/remrem/gists{/gist_id}","starred_url":"https://api.github.com/users/remrem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remrem/subscriptions","organizations_url":"https://api.github.com/users/remrem/orgs","repos_url":"https://api.github.com/users/remrem/repos","events_url":"https://api.github.com/users/remrem/events{/privacy}","received_events_url":"https://api.github.com/users/remrem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-27T17:26:00Z","updated_at":"2016-11-27T19:00:42Z","closed_at":null,"body":"à propos de  `secure_host_to_path()` , il y a un risque de collisions dans les vhosts : \r\n- `http://blog.example.tld` = `http://blog-example.tld` > `blog-example-tld`   \r\n- `http://example.tld/~tom/` = `http://example.tld/-tom/` > `example_tld--tom`\r\n\r\nProposition : ajouter un bout de md5 de l'url à la fin, on garde le côté \"lisible\" du vhost et on réduit le risque de collision :\r\n`example_tld--tom` -> `example_tld--tom_4d68e`\r\n\r\nQu'en pensez-vous ? des idées ?"},"comment":{"url":"https://api.github.com/repos/BoboTiG/blogotext/issues/comments/263139980","html_url":"https://github.com/BoboTiG/blogotext/issues/159#issuecomment-263139980","issue_url":"https://api.github.com/repos/BoboTiG/blogotext/issues/159","id":263139980,"user":{"login":"remrem","id":497268,"avatar_url":"https://avatars.githubusercontent.com/u/497268?v=3","gravatar_id":"","url":"https://api.github.com/users/remrem","html_url":"https://github.com/remrem","followers_url":"https://api.github.com/users/remrem/followers","following_url":"https://api.github.com/users/remrem/following{/other_user}","gists_url":"https://api.github.com/users/remrem/gists{/gist_id}","starred_url":"https://api.github.com/users/remrem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remrem/subscriptions","organizations_url":"https://api.github.com/users/remrem/orgs","repos_url":"https://api.github.com/users/remrem/repos","events_url":"https://api.github.com/users/remrem/events{/privacy}","received_events_url":"https://api.github.com/users/remrem/received_events","type":"User","site_admin":false},"created_at":"2016-11-27T19:00:42Z","updated_at":"2016-11-27T19:00:42Z","body":"pour supprimer les points, ça ne fonctionne pas : \r\nhttp://toto.example.com = totoexample.com > `totoexamplecom`\r\npour le md5, ça me paraissait la bonne solution, au moins c'est un peu de sécurité en plus, du md5 n'est pas lourd comme méthode de hash (pt de vue calcul, d'autant plus pour un petit string) et en ne gardant que 5-6 chars en fin, on de \"défigurer\" pas trop... :/"}}
{"actor":{"display_login":"remrem"}}