Cross-origin security error from File Chooser component

Hi,

It seems the File Chooser component (with File Type to Select = Source File) always launches via https and the secure server port, regardless of the protocol and/or port of the launching page.

And so when the File Chooser is launched from an http page on the unsecure port, clicking OK in the File Chooser dialog generates an "Uncaught SecurityError: Blocked a frame with origin "https://ourserver.com:secureport" from accessing a cross-origin frame." error.

That error seems to be javascript level and not an easy restriction to circumvent (unless I misunderstand it) .. protocol, server, and port must all match.

Is there a way to tell File Chooser to use the protocol and port of the page which is launching it? Or some other workaround?

Thanks for any suggestions and insights.

Best,

Andrew