UrlRewriter BUG

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
10/29/2012 11:19:22 AM
Gravatar
Total Posts 1

UrlRewriter BUG

Hey,

In file UrlRewriter.cs line: 240 you have bug:

check requestPath.Contains(virtualFolderName), but if you have path like 'Generator.aspx' and virtualFolderName = 'en' the condition return true but isn't true. My suggest is use: (requestPath.Contains(virtualFolderName + "/")

 

10/29/2012 2:17:36 PM
Gravatar
Total Posts 18439

Re: UrlRewriter BUG

I've changed it according to your suggestion and pushed it to the source code repository.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.