Ampersand in xml url is not passed through

  • Hi,

    This may be a known fact, but I did not manage to find it with Google.

    I generate my xml on the fly from database content.
    So I embed the viewer like this:

    Code
    <script>
      var viewer = createPanoViewer({swf:"mypath/krpano.swf", target:"pano"});
      viewer.addVariable("xml", "mypath/krpano-xml-generator.php?scene=amsterdam1&country=holland");
      viewer.embed();
    </script>

    Trouble is: krpano only requests the part up to the ampersand from the web server: mypath/krpano-xml-generator.php?scene=amsterdam1
    I had to resort to mod_rewrite and replace the ampersand with something like "....."

    Regards,
    Serge.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!