-
Notifications
You must be signed in to change notification settings - Fork 755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No script injection when the url contains a querystring to a config file #1092
Comments
as it's in the query, it shouldn't affect the script injection, sounds like a bug to me. I will look into it |
thanks for reporting :) |
Published at browser-sync@2.12.6 |
Great stuff, Thanks for the quick turn around - works perfectly now :-) Declan On Tue, May 10, 2016 at 6:57 AM, Shane Osbourne notifications@github.com
Declan Magee |
Curios, would this also effect files with a hash (#) at the end? For example an svg symbol like like |
Issue details
I need to pass json data to a page via a query string like below.
http://localhost:3002/index.html?someConfig=SOMECONFIG.json
(doesn't work)http://localhost:3002/index.html?someConfig=SOMECONFIG
(works)Unfortunately , this breaks browser sync due to the file extension in the query string. Can this be fixed?
Steps to reproduce/test case
Test browserSync on any page and add a querystring to a config file with a file extension.
e.g.http://localhost:3002/index.html?someConfig=SOMECONFIG.json
Please specify which version of Browsersync, node and npm you're running
Affected platforms
Browsersync use-case
for all other use-cases, (gulp, grunt etc), please show us exactly how you're using Browsersync
The text was updated successfully, but these errors were encountered: