Forum OpenACS Development: proc require_YUI_JS hardwiring of protocol.

When the proc require_YUI_JS, with ajaxhelper set to false, is called to source files, the http protocol is hard-coded:

::xowiki::Includelet proc require_YUI_JS {{-version 2.7.0} {-ajaxhelper true} path} {
    if {$ajaxhelper} {
      ::xo::Page requireJS "/resources/ajaxhelper/yui/$path"
    } else {
      ::xo::Page requireJS "http://yui.yahooapis.com/$version/build/$path"
    }
  }

This means that you cannot use this method to source files from third party servers over https without IEx throwing warnings.

Would it be better to modify this code to remove the "http:" from the method so that the browser uses the prevailing connection instead?

Regards
Richard