Fixed possible issue occurring when multiple namespaces are added to the URL (e.h. Help.Customize.MainPage).
This commit is contained in:
parent
9e9ceb2ec7
commit
e37abcf39f
3 changed files with 8 additions and 4 deletions
|
@ -28,7 +28,7 @@ namespace ScrewTurn.Wiki {
|
|||
if(ext != "ashx" && ext != "aspx") return;
|
||||
|
||||
// Extract the current namespace, if any
|
||||
string nspace = GetCurrentNamespace();
|
||||
string nspace = GetCurrentNamespace() + "";
|
||||
if(!string.IsNullOrEmpty(nspace)) pageName = pageName.Substring(nspace.Length + 1); // Trim Namespace. from pageName
|
||||
|
||||
string queryString = ""; // Empty or begins with ampersand, not question mark
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue