Missing "origin" header when requesting images

  • When in krpano's xmls we have things like:

    Code
    <plugin name="magflyouts_x" 								 scale="1.0"	url="../robertitor/x.png" keep="true" align="topright" edge="center" alpha="1" handcursor="true" enabled="true" preload="true"	visible="true" x="0" y="0" zorder="8" parent="magflyouts_image" onclick="magflyouts_image_hide();"/> 													<plugin name="magflyouts_x" devices="mobile" scale="1.5" 	url="../robertitor/x.png" keep="true" align="topright" edge="center" alpha="1" handcursor="true" enabled="true" preload="true"	visible="true" x="0" y="0" zorder="8" parent="magflyouts_image" onclick="magflyouts_image_hide();"/>


    Krpano sends request without "Origin" header for "x.png" image(see attachment) which in case of Amazon S3 results in no CORS headers returned(see attachment). Later this causes issues with JS and images loaded from browser cache.

    Any fix or workaround for this?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!