Old smileys redirection implemented

main
Inga 🏳‍🌈 15 years ago
parent e0f00a7112
commit f7770e09fc
  1. 2
      Builder/IISMainHandler/build.txt
  2. 2
      Builder/IISUploadHandler/build.txt
  3. 3
      IISMainHandler/HandlersFactory.cs
  4. BIN
      static/smileys/lol.gif

@ -22,6 +22,9 @@ namespace FLocal.IISHandler {
if(context.httprequest.Path.EndsWith(".php")) {
return new handlers.response.LegacyPHPHandler();
}
if(context.httprequest.Path.ToLower().StartsWith("/images/graemlins/")) {
throw new RedirectException("/static/smileys/" + context.requestParts[2]);
}
#endregion
switch(context.requestParts[0].ToLower()) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 570 B

Loading…
Cancel
Save