Umbraco URL's larger than 260 characters

29 views
Skip to first unread message

Dick Gennissen

unread,
Jan 13, 2012, 8:49:51 AM1/13/12
to UrlRewritingNet
Dear URL rewriters,

As I am working with Umbraco on a very high profile website in the
Netherlands with Umbraco, I noticed an issue in the URL rewriting
source.
When a URL is larger than 260 characters, the rewrite-module gives an
error because the filesystem cannot handle paths longer than 260
characters.

I have altered the private void OnBeginRequest(object sender,
EventArgs e) in the UrlRewriteModule.cs so it uses a try catch
construction.

Now setting the setting rewriteOnlyVirtualUrls to false, makes sure
the long URLs are not giving an error.

Can you tell me if the rewrite engine will have a fix for this in the
future?

Regards,

Dick Gennissen

Goldie

unread,
Jan 14, 2012, 8:28:46 AM1/14/12
to UrlRewritingNet
It is doubtful that they will as URL Rewriting is included in IIS 7+.
This library was developed in light of Apache having the ability to
rewrite but IIS 6- not having this ability at all.
Reply all
Reply to author
Forward
0 new messages