{"action":"created","issue":{"url":"https://api.github.com/repos/EFForg/https-everywhere/issues/9515","repository_url":"https://api.github.com/repos/EFForg/https-everywhere","labels_url":"https://api.github.com/repos/EFForg/https-everywhere/issues/9515/labels{/name}","comments_url":"https://api.github.com/repos/EFForg/https-everywhere/issues/9515/comments","events_url":"https://api.github.com/repos/EFForg/https-everywhere/issues/9515/events","html_url":"https://github.com/EFForg/https-everywhere/issues/9515","id":221345008,"number":9515,"title":"Meetrics: double wildcards needed?","user":{"login":"numismatika","id":6436819,"avatar_url":"https://avatars0.githubusercontent.com/u/6436819?v=3","gravatar_id":"","url":"https://api.github.com/users/numismatika","html_url":"https://github.com/numismatika","followers_url":"https://api.github.com/users/numismatika/followers","following_url":"https://api.github.com/users/numismatika/following{/other_user}","gists_url":"https://api.github.com/users/numismatika/gists{/gist_id}","starred_url":"https://api.github.com/users/numismatika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numismatika/subscriptions","organizations_url":"https://api.github.com/users/numismatika/orgs","repos_url":"https://api.github.com/users/numismatika/repos","events_url":"https://api.github.com/users/numismatika/events{/privacy}","received_events_url":"https://api.github.com/users/numismatika/received_events","type":"User","site_admin":false},"labels":[{"id":69134305,"url":"https://api.github.com/repos/EFForg/https-everywhere/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-04-12T18:07:35Z","updated_at":"2017-04-19T06:32:10Z","closed_at":null,"body":"Checking the Meetrics ruleset we can clearly see:\r\n`<rule from=\"^http://(s\\d+)\\.research\\.de\\.com/\" to=\"https://$1.research.de.com/\"/>`\r\nthe problem is that they also have additional subdomain levels below that.\r\nBoth\r\n`\r\n<target host=\"i2.s62.research.de.com\" />`\r\nand\r\n\r\n`<target host=\"s62.research.de.com\" />`\r\n\r\nexist and the numbers are working at least up to 999 for both levels.\r\nSince\r\n`<rule from=\"^http://(s\\d+)\\.research\\.de\\.com/\" to=\"https://$1.research.de.com/\"/>`\r\ndoesn't cover both cases, is a double wildcard a solution? "},"comment":{"url":"https://api.github.com/repos/EFForg/https-everywhere/issues/comments/295119270","html_url":"https://github.com/EFForg/https-everywhere/issues/9515#issuecomment-295119270","issue_url":"https://api.github.com/repos/EFForg/https-everywhere/issues/9515","id":295119270,"user":{"login":"numismatika","id":6436819,"avatar_url":"https://avatars0.githubusercontent.com/u/6436819?v=3","gravatar_id":"","url":"https://api.github.com/users/numismatika","html_url":"https://github.com/numismatika","followers_url":"https://api.github.com/users/numismatika/followers","following_url":"https://api.github.com/users/numismatika/following{/other_user}","gists_url":"https://api.github.com/users/numismatika/gists{/gist_id}","starred_url":"https://api.github.com/users/numismatika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numismatika/subscriptions","organizations_url":"https://api.github.com/users/numismatika/orgs","repos_url":"https://api.github.com/users/numismatika/repos","events_url":"https://api.github.com/users/numismatika/events{/privacy}","received_events_url":"https://api.github.com/users/numismatika/received_events","type":"User","site_admin":false},"created_at":"2017-04-19T06:32:09Z","updated_at":"2017-04-19T06:32:09Z","body":"maybe the (s\\d+) then prevented the match & rewrite for the lower layer.\r\nI will have to test more of these subdomains i guess."}}
{"actor":{"display_login":"numismatika"}}