|
|
@ -16,7 +16,7 @@ namespace FLocal.IISHandler.handlers { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected override IEnumerable<XElement> getSpecificData(WebContext context) { |
|
|
|
protected override IEnumerable<XElement> getSpecificData(WebContext context) { |
|
|
|
if(!context.httprequest.Path.StartsWith("/static/")) context.LogError(new WrongUrlException()); |
|
|
|
if(!context.httprequest.Path.StartsWith("/static/") && !context.httprequest.Path.StartsWith("/favicon")) context.LogError(new WrongUrlException()); |
|
|
|
return new XElement[] { |
|
|
|
return new XElement[] { |
|
|
|
new XElement("path", context.httprequest.Path) |
|
|
|
new XElement("path", context.httprequest.Path) |
|
|
|
}; |
|
|
|
}; |
|
|
|