{"action":"created","issue":{"url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/644","labels_url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/644/labels{/name}","comments_url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/644/comments","events_url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/644/events","html_url":"https://github.com/BrowserSync/browser-sync/issues/644","id":80891715,"number":644,"title":"Illegal character of Laravel DebugBar with BrowserSync","user":{"login":"jaceju","id":310474,"avatar_url":"https://avatars.githubusercontent.com/u/310474?v=3","gravatar_id":"","url":"https://api.github.com/users/jaceju","html_url":"https://github.com/jaceju","followers_url":"https://api.github.com/users/jaceju/followers","following_url":"https://api.github.com/users/jaceju/following{/other_user}","gists_url":"https://api.github.com/users/jaceju/gists{/gist_id}","starred_url":"https://api.github.com/users/jaceju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaceju/subscriptions","organizations_url":"https://api.github.com/users/jaceju/orgs","repos_url":"https://api.github.com/users/jaceju/repos","events_url":"https://api.github.com/users/jaceju/events{/privacy}","received_events_url":"https://api.github.com/users/jaceju/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-26T10:02:41Z","updated_at":"2015-06-11T07:19:30Z","closed_at":null,"body":"I integrated BrowserSync in Laravel 5 by [laravel-elixir-browser-sync](https://github.com/ponko2/laravel-elixir-browser-sync), it works well. But I have trouble with integrating [Laravel Debugbar](https://github.com/barryvdh/laravel-debugbar) into the project because BrowserSync replaced the `host` in javascript string that was generated by Debugbar.\r\nThere is a [demo](https://github.com/jaceju/demo-browsersync-debugbar) for reproducing the bug. Any suggestions would be welcome, thanks."},"comment":{"url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/comments/111023501","html_url":"https://github.com/BrowserSync/browser-sync/issues/644#issuecomment-111023501","issue_url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/644","id":111023501,"user":{"login":"shinnn","id":1131567,"avatar_url":"https://avatars.githubusercontent.com/u/1131567?v=3","gravatar_id":"","url":"https://api.github.com/users/shinnn","html_url":"https://github.com/shinnn","followers_url":"https://api.github.com/users/shinnn/followers","following_url":"https://api.github.com/users/shinnn/following{/other_user}","gists_url":"https://api.github.com/users/shinnn/gists{/gist_id}","starred_url":"https://api.github.com/users/shinnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinnn/subscriptions","organizations_url":"https://api.github.com/users/shinnn/orgs","repos_url":"https://api.github.com/users/shinnn/repos","events_url":"https://api.github.com/users/shinnn/events{/privacy}","received_events_url":"https://api.github.com/users/shinnn/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T07:19:30Z","updated_at":"2015-06-11T07:19:30Z","body":"I built @jaceju's [demo](https://github.com/jaceju/demo-browsersync-debugbar) on my Mac OS X and opened the site with Google Chrome Canary, but I couldn't reproduce [the error](https://raw.githubusercontent.com/jaceju/demo-browsersync-debugbar/master/bug.png).\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1131567/8101709/ae0e4a08-1054-11e5-94b6-6a47af5f3be1.png)\r\n\r\n```\r\n$ brew tap homebrew/dupes\r\n$ brew tap homebrew/versions\r\n$ brew tap homebrew/homebrew-php\r\n$ brew install php56\r\n$ brew install composer\r\n$ brew install mcrypt php56-mcrypt\r\n$ php -v\r\n> PHP 5.6.9 (cli) (built: May 15 2015 09:36:14) \r\n> Copyright (c) 1997-2015 The PHP Group\r\n> Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies\r\n$ git clone https://github.com/jaceju/demo-browsersync-debugbar\r\n$ cd demo-browsersync-debugbar\r\n$ composer install && npm install\r\n$ gulp\r\n```\r\n"}}