Fix some warnings
This commit is contained in:
@@ -44,7 +44,7 @@ public class Bundler
|
||||
{
|
||||
if (_absoluteFiles != null) { return _absoluteFiles; }
|
||||
|
||||
if (string.IsNullOrEmpty(_absolutePath))
|
||||
if (_absolutePath == null || string.IsNullOrEmpty(_absolutePath))
|
||||
{
|
||||
_absoluteFiles = new List<string>();
|
||||
return _absoluteFiles;
|
||||
|
||||
@@ -84,7 +84,8 @@ public static class ServerHelpers
|
||||
}
|
||||
else if (IsUrlSafe(ch) == false)
|
||||
{
|
||||
sbResult.Append($"%{ch:X02}");
|
||||
int intCh = ch;
|
||||
sbResult.Append($"%{intCh:X02}");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -34,7 +34,7 @@ public class FrmError : PageCommon
|
||||
Label lblErrorTitle = new Label {Text = Title, Tag = "h2"};
|
||||
Controls.Add(lblErrorTitle);
|
||||
|
||||
Exception? exAux = _ex;
|
||||
Exception? exAux = (Exception?)_ex;
|
||||
//if (exAux is HttpUnhandledException && exAux.InnerException != null) { exAux = exAux.InnerException; }
|
||||
while (exAux != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user