CFDIV Cross origin requests are only supported

These use to work in CF8, and I was hoping it still would, but it is
throwing the following error.

Here is the tag:

Here is the error in Lucee:

XMLHttpRequest cannot load url:imports/incident.cfm?&_229749725. Cross
origin requests are only supported for protocol schemes: http, data,
chrome, chrome-extension, https, chrome-extension-resource.

I tried to find something in the docs to suggest this did not work the same
as CF, but found nothing.

I went through a series of variations on the URL: (link) but nothing worked.

Suggestions?

I’d suggest using a Javascript library like jQuery for this, which will be
much better supported than front-end tags like cfdiv.

That said, you might also try googling the error message, which would bring
you here:

Seems like the problem is exactly what it says in the error message, you
have a file system URL in the bind attribute, and Chrome is the software
that is preventing the request rather than Lucee as a security measure to
close a potential attack surface. See

Aria Media Sagl
Via Rompada 40
6987 Caslano
Switzerland

+41 (0)91 600 9601
+41 (0)76 303 4477 cell
skype: ariamediaOn Wed, Dec 16, 2015 at 5:33 PM, Frank Petersen <@Frank_Petersen> wrote:

These use to work in CF8, and I was hoping it still would, but it is
throwing the following error.

Here is the tag:

Here is the error in Lucee:

XMLHttpRequest cannot load url:imports/incident.cfm?&_229749725. Cross
origin requests are only supported for protocol schemes: http, data,
chrome, chrome-extension, https, chrome-extension-resource.

I tried to find something in the docs to suggest this did not work the
same as CF, but found nothing.

I went through a series of variations on the URL: (link) but nothing
worked.

Suggestions?


Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/6fcedaa2-798d-4470-9125-c32ccd4cf92b%40googlegroups.com
https://groups.google.com/d/msgid/lucee/6fcedaa2-798d-4470-9125-c32ccd4cf92b%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.