Closed GoogleCodeExporter closed 8 years ago
One more note: Regular expressions cannot be used to solve (2) because methods
like
Response.Redirect take virtual paths, which are not fully qualified URLs.
However it should be possible to note methods that accept virtual paths and
treat
them accordingly.
thank you.
Original comment by whitneyl...@gmail.com
on 1 Jul 2008 at 5:45
I can't think of a reliable way of detecting such cases.
For example the code could be:
private const string MY_PAGE = "mypage.aspx";
...
Response.Redirect("mypage.aspx");
However I can suggest to add another regular expressions that would feet your
needs , like (?#partial url)[\w/]*?\.(aspx|html|htm)
Original comment by forever....@gmail.com
on 7 Jul 2008 at 10:47
I think regex solves the problem
Original comment by forever....@gmail.com
on 27 Aug 2008 at 11:04
Original issue reported on code.google.com by
whitneyl...@gmail.com
on 1 Jul 2008 at 5:39