PirateBox-Dev / PirateBoxScripts_Webserver

PirateBox Scriptcollection for running in Webserver
GNU General Public License v3.0
206 stars 102 forks source link

Fixed accidental redirects #114

Closed herr-gabriel closed 9 years ago

herr-gabriel commented 9 years ago

Sometimes a user would still be redirected to a cached piratebox.lan site after disconnecting from the piratebox wifi. This has something to do with how different browsers interact with the cache-control meta tag. Adding "pragma" and "expires" tags as well as additional "cache-control" contents fixes that.

MaStr commented 9 years ago

Hi, thank you very much. Can you extend the fix for the schema file, which is pulled for recreating the redirect.html using the hostname-change sript? You can find it under piratebox/piratebox/src/redirect.html.schema

That would be awesome, and I'll merge it into a fix branch ... and see what we can integrate additional to that fix release.

best regards Matthias

herr-gabriel commented 9 years ago

Sure. I'll give it a try.

MaStr commented 9 years ago

Merged to hotfix branch.