{"action":"created","issue":{"url":"https://api.github.com/repos/NET-A-PORTER/scala-uri/issues/46","labels_url":"https://api.github.com/repos/NET-A-PORTER/scala-uri/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/NET-A-PORTER/scala-uri/issues/46/comments","events_url":"https://api.github.com/repos/NET-A-PORTER/scala-uri/issues/46/events","html_url":"https://github.com/NET-A-PORTER/scala-uri/issues/46","id":29280594,"number":46,"title":"duplicate slashes in path component with toString / toStringRaw","user":{"login":"almoehi","id":281768,"avatar_url":"https://avatars.githubusercontent.com/u/281768?v=3","gravatar_id":"","url":"https://api.github.com/users/almoehi","html_url":"https://github.com/almoehi","followers_url":"https://api.github.com/users/almoehi/followers","following_url":"https://api.github.com/users/almoehi/following{/other_user}","gists_url":"https://api.github.com/users/almoehi/gists{/gist_id}","starred_url":"https://api.github.com/users/almoehi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almoehi/subscriptions","organizations_url":"https://api.github.com/users/almoehi/orgs","repos_url":"https://api.github.com/users/almoehi/repos","events_url":"https://api.github.com/users/almoehi/events{/privacy}","received_events_url":"https://api.github.com/users/almoehi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-03-12T16:51:36Z","updated_at":"2015-09-14T21:00:09Z","closed_at":"2014-09-16T22:44:55Z","body":"reproduceable always, just open a REPL and type:\r\n```\r\nval uri = \"http://www.google.com\" / \"test\" / \"json\" ? (\"p\" -> \"test\")\r\nuri.toStringRaw  // outputs: http://www.google.com/test//json?p=test\r\n```\r\n\r\nthis only happens when using the DSL with more than one path component AND query string"},"comment":{"url":"https://api.github.com/repos/NET-A-PORTER/scala-uri/issues/comments/140204559","html_url":"https://github.com/NET-A-PORTER/scala-uri/issues/46#issuecomment-140204559","issue_url":"https://api.github.com/repos/NET-A-PORTER/scala-uri/issues/46","id":140204559,"user":{"login":"theon","id":759170,"avatar_url":"https://avatars.githubusercontent.com/u/759170?v=3","gravatar_id":"","url":"https://api.github.com/users/theon","html_url":"https://github.com/theon","followers_url":"https://api.github.com/users/theon/followers","following_url":"https://api.github.com/users/theon/following{/other_user}","gists_url":"https://api.github.com/users/theon/gists{/gist_id}","starred_url":"https://api.github.com/users/theon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theon/subscriptions","organizations_url":"https://api.github.com/users/theon/orgs","repos_url":"https://api.github.com/users/theon/repos","events_url":"https://api.github.com/users/theon/events{/privacy}","received_events_url":"https://api.github.com/users/theon/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T21:00:09Z","updated_at":"2015-09-14T21:00:09Z","body":"As of `0.4.10-SNAPSHOT` this has been properly fixed:\r\n\r\n ```scala\r\nval uri = \"http://www.google.com\" / \"test\" / \"json\" ? (\"p\" -> \"test\")\r\nuri: com.netaporter.uri.Uri = http://www.google.com/test/json?p=test\r\n```"}}