Permalink
Browse files

move reqPath into the try/catch too

svn path=/trunk/mcs/; revision=54361
  • Loading branch information...
1 parent 00ad47d commit 0ed5b8fe648c29388997839f58281051adba53d7 @gonzalop gonzalop committed Dec 14, 2005
Showing with 2 additions and 1 deletion.
  1. +2 −1 mcs/class/System.Web/System.Web.Security/FormsAuthenticationModule.cs
@@ -86,9 +86,10 @@ void OnAuthenticateRequest (object sender, EventArgs args)
slidingExpiration = config.SlidingExpiration;
#endif
- string reqPath = context.Request.PhysicalPath;
+ string reqPath = "";
string loginPath = null;
try {
+ reqPath = context.Request.PhysicalPath;
loginPath = context.Request.MapPath (loginPage);
} catch {} // ignore

0 comments on commit 0ed5b8f

Please sign in to comment.