{"action":"opened","issue":{"url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/1577","repository_url":"https://api.github.com/repos/BrowserSync/browser-sync","labels_url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/1577/labels{/name}","comments_url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/1577/comments","events_url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/1577/events","html_url":"https://github.com/BrowserSync/browser-sync/issues/1577","id":336121813,"node_id":"MDU6SXNzdWUzMzYxMjE4MTM=","number":1577,"title":"Port gets unnecesarily rewritten in Proxy","user":{"login":"megaxlr","id":8215278,"node_id":"MDQ6VXNlcjgyMTUyNzg=","avatar_url":"https://avatars0.githubusercontent.com/u/8215278?v=4","gravatar_id":"","url":"https://api.github.com/users/megaxlr","html_url":"https://github.com/megaxlr","followers_url":"https://api.github.com/users/megaxlr/followers","following_url":"https://api.github.com/users/megaxlr/following{/other_user}","gists_url":"https://api.github.com/users/megaxlr/gists{/gist_id}","starred_url":"https://api.github.com/users/megaxlr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megaxlr/subscriptions","organizations_url":"https://api.github.com/users/megaxlr/orgs","repos_url":"https://api.github.com/users/megaxlr/repos","events_url":"https://api.github.com/users/megaxlr/events{/privacy}","received_events_url":"https://api.github.com/users/megaxlr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-27T08:13:08Z","updated_at":"2018-06-27T08:13:08Z","closed_at":null,"author_association":"NONE","body":"### Issue details\r\n\r\nI have a link which needs to link to a specific port (which isnt the port that gets proxied), however browsersync rewrites the URL to the Browsersync port.\r\n\r\n### Steps to reproduce/test case\r\n\r\nAssuming:\r\nYou are running stock browsersync\r\nThe port you are proxying  localhost:80 to localhost:3000\r\nYou are trying to link to localhost:6426\r\n\r\nWrite the anchor in the HTML \r\n```html\r\n<a href=\"http://localhost:6426\">test</a>\r\n```\r\n\r\nObserve how the link in the browser gets rewritten to \r\n```html\r\n<a href=\"http://localhost:3000\">test</a>\r\n```\r\n\r\n### Please specify which version of Browsersync, node and npm you're running\r\n\r\n- Browsersync [  2.24.5   ]\r\n- Node        [  10.4.1   ]\r\n- Npm         [  6.1.0  ]\r\n\r\n### Affected platforms\r\nI can now only confirm Linux (host and client) but considering the nature of this bug, I suspect it will be all OS's.\r\n- [x] linux\r\n- [ ] windows\r\n- [ ] OS X\r\n- [ ] freebsd\r\n- [ ] solaris\r\n- [ ] other _(please specify which)_\r\n\r\n### Browsersync use-case\r\n\r\n- [ ] API\r\n- [x] Gulp\r\n- [ ] Grunt\r\n- [x] CLI\r\n\r\n### If CLI, please paste the entire command below\r\n\r\n{cli command here}\r\n\r\n### for all other use-cases, (gulp, grunt etc), please show us exactly how you're using Browsersync\r\n\r\n(laravel-mix-browsersync-official)\r\n"}}
{"actor":{"display_login":"megaxlr"}}