Make files to available over SSL and non-SSL environment.
Force replace http:// and https:// with //.
Omit the protocol from url base of asset.
Why not get rid of the brackets in the search regex?
Also, I'd prefer to do the replace on \Config::get('base_url') only. Overriding the config key casset.url seems a bit presumptuous.
In addition, now would probably be a good time to use something like URL::base() instead of fetching this config key directly (I don't recall this function existing when that line was written).
Definitely needs doing, thanks! I've raised a couple of concerns in the commit comments -- what do you think?
Finished it up my way and closed it due to lack of feedback
Merge branch 'feature/scheme-relative' into develop
Add Katsuma Ito to contributers
Make asset urls scheme-relative, to avoid http/https issues.