{"action":"created","issue":{"url":"https://api.github.com/repos/lubyk/dub/issues/8","labels_url":"https://api.github.com/repos/lubyk/dub/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/lubyk/dub/issues/8/comments","events_url":"https://api.github.com/repos/lubyk/dub/issues/8/events","html_url":"https://github.com/lubyk/dub/issues/8","id":74999385,"number":8,"title":"header_base does not work for directories with special characters","user":{"login":"hendrik-cliqz","id":7126422,"avatar_url":"https://avatars.githubusercontent.com/u/7126422?v=3","gravatar_id":"","url":"https://api.github.com/users/hendrik-cliqz","html_url":"https://github.com/hendrik-cliqz","followers_url":"https://api.github.com/users/hendrik-cliqz/followers","following_url":"https://api.github.com/users/hendrik-cliqz/following{/other_user}","gists_url":"https://api.github.com/users/hendrik-cliqz/gists{/gist_id}","starred_url":"https://api.github.com/users/hendrik-cliqz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hendrik-cliqz/subscriptions","organizations_url":"https://api.github.com/users/hendrik-cliqz/orgs","repos_url":"https://api.github.com/users/hendrik-cliqz/repos","events_url":"https://api.github.com/users/hendrik-cliqz/events{/privacy}","received_events_url":"https://api.github.com/users/hendrik-cliqz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-10T20:47:06Z","updated_at":"2015-05-11T11:25:55Z","closed_at":"2015-05-11T09:18:15Z","body":"it took some effort to find out why 'header_base' did not work for me:\r\n\r\nI have a directory in my path with a '-' (e.g. 'git-test'), for those the string matching in: https://github.com/lubyk/dub/blob/master/dub/LuaBinder.lua#L598 does not match as the '-' is interpreted as pattern, in order to match literally it needs to be escaped: '-' -> '%-'\r\n\r\nI can make a workaround for it in my binding script but the right way would be to fix it in LuaBinder.lua"},"comment":{"url":"https://api.github.com/repos/lubyk/dub/issues/comments/100874876","html_url":"https://github.com/lubyk/dub/issues/8#issuecomment-100874876","issue_url":"https://api.github.com/repos/lubyk/dub/issues/8","id":100874876,"user":{"login":"gaspard","id":21707,"avatar_url":"https://avatars.githubusercontent.com/u/21707?v=3","gravatar_id":"","url":"https://api.github.com/users/gaspard","html_url":"https://github.com/gaspard","followers_url":"https://api.github.com/users/gaspard/followers","following_url":"https://api.github.com/users/gaspard/following{/other_user}","gists_url":"https://api.github.com/users/gaspard/gists{/gist_id}","starred_url":"https://api.github.com/users/gaspard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaspard/subscriptions","organizations_url":"https://api.github.com/users/gaspard/orgs","repos_url":"https://api.github.com/users/gaspard/repos","events_url":"https://api.github.com/users/gaspard/events{/privacy}","received_events_url":"https://api.github.com/users/gaspard/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T11:25:55Z","updated_at":"2015-05-11T11:25:55Z","body":"Done. dub 2.2.2 is out."}}