|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-09-05 11:16 UTC] cmb@php.net
-Status: Open
+Status: Analyzed
-Assigned To:
+Assigned To: cmb
[2015-09-05 11:16 UTC] cmb@php.net
[2015-09-05 12:52 UTC] cmb@php.net
[2015-09-05 12:52 UTC] cmb@php.net
-Status: Analyzed
+Status: Closed
[2015-09-05 12:53 UTC] cmb@php.net
[2015-09-15 12:13 UTC] ab@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 12:00:01 2025 UTC |
Description: ------------ Using bower to manage JS deps and using the following javascript file throws a 404. bower_components/history.js/scripts/bundled/html4+html5/jquery.history.js The file definately exists and renaming it without the '+' works. As this is a managed file renaming it isn't an option. Test script: --------------- <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Sample page</title> </head> <body> <script src="bower_components/history.js/scripts/bundled/html4+html5/jquery.history.js"></script> </body> </html> Expected result: ---------------- PHP 5.5.15 Development Server started at Thu Oct 23 15:13:52 2014 Listening on http://0.0.0.0:3000 Document root is xxxxxxxxxxxxxxxxxxxxx Press Ctrl-C to quit. [Thu Oct 23 15:13:55 2014] 127.0.0.1:55959 [200]: / [Thu Oct 23 15:13:55 2014] 127.0.0.1:55960 [200]: /bower_components/history.js/scripts/bundled/html4+html5/jquery.history.js Actual result: -------------- PHP 5.5.15 Development Server started at Thu Oct 23 15:13:52 2014 Listening on http://0.0.0.0:3000 Document root is xxxxxxxxxxxxxxxxxxxxx Press Ctrl-C to quit. [Thu Oct 23 15:13:55 2014] 127.0.0.1:55959 [200]: / [Thu Oct 23 15:13:55 2014] 127.0.0.1:55960 [404]: /bower_components/history.js/scripts/bundled/html4+html5/jquery.history.js - No such file or directory