silverstripe-framework/view
Fred Condo 3e0782267c Allow scheme-relative URLs in requirements
The Requirements class currently treats only absolute URLs as URLs, and
tries to interpret anything else as a filesystem path. This prevents
using scheme-relative URLs for requirements.

Example:
<% require javascript(//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js) %>

This forces the unfortunate choice of not using a CDN for common
scripts, always using an https absolute URL, or accepting that some
browsers will throw a security warning when viewing the site in https.

This change allows scheme-relative URLs & updates RequirementsTest.
2012-08-22 16:49:55 -07:00
..
ArrayData.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
GenericTemplateGlobalProvider.php ENHANCEMENT Adding List() in the GenericTemplateGlobalProvider so 2012-05-29 20:04:51 +12:00
Requirements.php Allow scheme-relative URLs in requirements 2012-08-22 16:49:55 -07:00
SSTemplateParser.php BUG 7362 dont include trailing space in bare string 2012-07-23 15:42:58 +12:00
SSTemplateParser.php.inc BUG 7362 dont include trailing space in bare string 2012-07-23 15:42:58 +12:00
SSViewer.php API CHANGE: Add Security::ignore_disallowed_actions() to allow site features to be disabled when permissions have failed, rather than redirecting to the log-in form. (Trac #7097) 2012-06-15 15:17:48 +12:00
TemplateGlobalProvider.php ENHANCEMENT Replaced locations of sapphire with $ModulePath(framework) in templates, based off Controller which implements TemplateGlobalProvider 2012-04-15 10:50:20 +12:00
TemplateIteratorProvider.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
ViewableData.php MINOR Replace deprecation warnings with Deprecation::notice() instead 2012-05-30 22:33:11 +12:00