Skip to content
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

Problem with "+" in paths #174

Open
jjb opened this issue Oct 16, 2015 · 0 comments
Open

Problem with "+" in paths #174

jjb opened this issue Oct 16, 2015 · 0 comments

Comments

@jjb
Copy link
Contributor

jjb commented Oct 16, 2015

I am using package "history.js".

In Bowerfile I have:

asset "history.js"

Which generates in bower.json

"history.js": "latest",

In application.coffee I have

#= require history.js/scripts/bundled-uncompressed/html4+html5/jquery.history

For production, the rails asset pipeline finds the file and compiles it, and everything works. In development the asset is not reachable. i.e. this url doesn't work:

http://localhost:3000/assets/history.js/scripts/bundled-uncompressed/html4+html5/jquery.history.js

but this one does:

http://localhost:3000/assets/history.js/scripts/bundled-uncompressed/html4%2Bhtml5/jquery.history.self.js

Should the url be escaped when put into the <script> tag? Does that happen in bower-rails or in the rails asset pipeline?

If you send me in the right direction on this I can try to put together a PR.

Thanks for an amazing project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant