When editing some (not all) pages that bear unicode
names, an error occurs and the page cannot be edited.
For error message see below.
Roman.
romkus@yahoo.com
-----------------------------------------------
Length cannot be less than zero. Parameter name:
length
Description: An unhandled exception occurred during
the execution of the current web request. Please review
the stack trace for more information about the error and
where it originated in the code.
Exception Details:
System.ArgumentOutOfRangeException: Length cannot
be less than zero. Parameter name: length
Source Error:
An unhandled exception was generated during the
execution of the current web request. Information
regarding the origin and location of the exception can be
identified using the exception stack trace below.
Stack Trace:
[ArgumentOutOfRangeException: Length cannot be less
than zero.
Parameter name: length]
System.String.Substring(Int32 startIndex, Int32 length)
+172
FlexWiki.Web.BasePage.RootUrl(HttpRequest req) in
c:\Builds\ccnet\server\flexwikicore\build\FlexWiki.Web\B
asePage.cs:111
FlexWiki.Web.BasePage.PageLoad() in
c:\Builds\ccnet\server\flexwikicore\build\FlexWiki.Web\B
asePage.cs:559
FlexWiki.Web.BasePage.DefaultPageLoad() in
c:\Builds\ccnet\server\flexwikicore\build\FlexWiki.Web\B
asePage.cs:484
FlexWiki.Web.BasePage.Page_Load(Object sender,
EventArgs e) in
c:\Builds\ccnet\server\flexwikicore\build\FlexWiki.Web\B
asePage.cs:478
System.EventHandler.Invoke(Object sender,
EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
Version Information: Microsoft .NET Framework
Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
Logged In: NO
oh, yes, and here is the URL that caused it:
http://localhost:8881/wiki/wikiedit.aspx?topic=MyWiki.%d0%
a2%d0%b5%d1%85%d0%bd%d0%b8%d1%87%d0%b5%
d1%81%d0%ba%d0%be%d0%b5%d0%97%d0%b0%d0%
b4%d0%b0%d0%bd%d0%b8%d0%b5