Bugs in web interface

infernoboy
edited February 2017 in SecuritySpy
Attempting to look at captured files for cameras that have a "+" in its name does not work. Viewing as a grid results in a bunch of unloaded, 404'd images. Clicking to play one load the video page, but fails to play the video, again with a 404.

I run Apache in front of SecuritySpy and use a Proxy/ProxyPass to access SecuritySpy at the path "/spy/". When attempting to Save/Cancel in the Preferences or Camera Settings page, I get redirected to "/" instead of "/spy/". The settings still get saved though, so this is just a minor inconvenience.

Comments

  • Thanks for the feedback.

    Both these issues are a consequence of running SecuritySpy behind the proxy. The second one is easy for us to fix and I'll make sure that's done for the update.

    The first one doesn't appear to be a bug in SecuritySpy - when accessing SecuritySpy's web interface directly, cameras with "+" characters in their name work just fine. So it must be down to how the proxy is processing and passing the request to SecuritySpy somehow.

    Try using the "nocanon" keyword in the Apache ProxyPass line, this will hopefully prevent Apache from mangling the request.
  • The "nocanon" keyword worked! Thank you.