Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use "/" instead of "\\" as suffix when building URI from current dire…

…ctory.

This fixes test unit Read_ofx_content_53 under mono, which doesn't recognize the backslash at the end of the URI and then constructs the wrong path for the DTD look up when it appends its name as a relative path.
  • Loading branch information...
commit abcf4053ece96e0538d893c6a30b480c15cc87dd 1 parent eb2ce67
@bjorg bjorg authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  sgmlreaderdll/SgmlReader.cs
View
2  sgmlreaderdll/SgmlReader.cs
@@ -465,7 +465,7 @@ private void LazyLoadDtd(Uri baseUri)
}
else
{
- baseUri = new Uri(new Uri(Directory.GetCurrentDirectory() + "\\"), this.m_syslit);
+ baseUri = new Uri(new Uri(Directory.GetCurrentDirectory() + "/"), this.m_syslit);
}
this.m_dtd = SgmlDtd.Parse(baseUri, this.m_docType, this.m_pubid, baseUri.AbsoluteUri, this.m_subset, this.m_proxy, null);
}
Please sign in to comment.
Something went wrong with that request. Please try again.