What if I take advantage of this ?:
<a href=<%SPHttpUtility.AddQuote(SPHttpUtility.UrlPathEncode(PageUrl,true),Response.Output);%>> <% SPHttpUtility.HtmlEncode ("Some link header", Response.Output);% >a>>
I am still getting the same warning.
source share