fixed a mistype in iismainhandler

main
Inga 🏳‍🌈 14 years ago
parent ae94c0865d
commit ee215d89dc
  1. 2
      IISMainHandler/MainHandler.cs

@ -15,7 +15,7 @@ namespace FLocal.IISHandler {
private void doProcessRequest(HttpContext httpcontext) {
Uri referer = httpcontext.Request.UrlReferrer;
if(referer != null && referer.PathAndQuery.StartsWith("/static") && !httpcontext.Request.Path.StartsWith("/static") {
if(referer != null && referer.PathAndQuery.StartsWith("/static") && !httpcontext.Request.Path.StartsWith("/static")) {
throw new HttpException(403, "You have come from the static page '" + referer + "'");
}

Loading…
Cancel
Save