W
Will Chamberlain
I am getting the following error:
Exception Details: System.Web.HttpException: Cannot use a leading .. to
exit above the top directory
The function that throws the error is:
Public Function GetCommentLink() As String
If Not CBool(cfg.GetConfig("cfgLockComments")) And Not
CStr(dtr("post_Comments")).ToUpper = "NOC" Then
Return _
& "<a href=" & cfg.PostPermalinkURI(CInt(dtr("post_ID")),
CStr(dtr("post_Title"))) & ">" _
& loc.GetString("Comments") _
& " (" & CInt(dtr("cmt_CmtCnt")) & ")</a>"
Else
Return ""
End If
End Function
___________________
I've Googled this error and the consensus is that it has something to do
with security in the way you reference a directory. Any suggestions on
how to fix this? It is a blog engine that I am trying to install.
Exception Details: System.Web.HttpException: Cannot use a leading .. to
exit above the top directory
The function that throws the error is:
Public Function GetCommentLink() As String
If Not CBool(cfg.GetConfig("cfgLockComments")) And Not
CStr(dtr("post_Comments")).ToUpper = "NOC" Then
Return _
& "<a href=" & cfg.PostPermalinkURI(CInt(dtr("post_ID")),
CStr(dtr("post_Title"))) & ">" _
& loc.GetString("Comments") _
& " (" & CInt(dtr("cmt_CmtCnt")) & ")</a>"
Else
Return ""
End If
End Function
___________________
I've Googled this error and the consensus is that it has something to do
with security in the way you reference a directory. Any suggestions on
how to fix this? It is a blog engine that I am trying to install.