id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,state
1263,_getScriptLocation cannot handle query string,openlayers,,"When adding a javascript file using the drupal drupal_add_js function, the src parameter may get a query string to prevent caching.
The _getScriptLocation function cannot handle this, because it assumes that the scriptName is at the end of the string. In case of a query string, it should use the position of the ? as the end.
A patch is attached.

For example:

<script type=""text/javascript"" src=""/drupal/sites/all/modules/mapclient/OpenLayers-2.5/lib/OpenLayers.js?f""></script>

This would make the OpenLayers code more robust, and would facilitate integration with a CMS like Drupal.
",feature,closed,minor,2.6 Release,general,2.5,fixed,,john.pulles@…,Complete
