Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Not sure if it helps but here is the code throwing the exception:</p> <pre><code>internal static string ReduceVirtualPath(string path) { int length = path.Length; int startIndex = 0; while (true) { startIndex = path.IndexOf('.', startIndex); if (startIndex &lt; 0) { return path; } if (((startIndex == 0) || (path[startIndex - 1] == '/')) &amp;&amp; ((((startIndex + 1) == length) || (path[startIndex + 1] == '/')) || ((path[startIndex + 1] == '.') &amp;&amp; (((startIndex + 2) == length) || (path[startIndex + 2] == '/'))))) { break; } startIndex++; } ArrayList list = new ArrayList(); StringBuilder builder = new StringBuilder(); startIndex = 0; do { int num3 = startIndex; startIndex = path.IndexOf('/', num3 + 1); if (startIndex &lt; 0) { startIndex = length; } if ((((startIndex - num3) &lt;= 3) &amp;&amp; ((startIndex &lt; 1) || (path[startIndex - 1] == '.'))) &amp;&amp; (((num3 + 1) &gt;= length) || (path[num3 + 1] == '.'))) { if ((startIndex - num3) == 3) { if (list.Count == 0) { throw new HttpException(SR.GetString("Cannot_exit_up_top_directory")); } if ((list.Count == 1) &amp;&amp; IsAppRelativePath(path)) { return ReduceVirtualPath(MakeVirtualPathAppAbsolute(path)); } builder.Length = (int) list[list.Count - 1]; list.RemoveRange(list.Count - 1, 1); } } else { list.Add(builder.Length); builder.Append(path, num3, startIndex - num3); } } while (startIndex != length); string str = builder.ToString(); if (str.Length != 0) { return str; } if ((length &gt; 0) &amp;&amp; (path[0] == '/')) { return "/"; } return "."; } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload