You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constructors: public QueryStringBuilder(ContentReference contentLink, bool includeHost = false)
and public QueryStringBuilder(ContentReference contentLink, UrlResolver urlResolver, bool includeHost = false)
fail with null pointer exception if contentLink has no template.
However if GetFriendlyUrl is used that returns string.Empty and: public QueryStringBuilder(string url)
works somewhat fine
Expect the same behavior from both, either both fail or both succeed new QueryStringBuilder(contentLink.GetFriendlyUrl()) new QueryStringBuilder(contentLink)
The text was updated successfully, but these errors were encountered:
constructors:
public QueryStringBuilder(ContentReference contentLink, bool includeHost = false)
and
public QueryStringBuilder(ContentReference contentLink, UrlResolver urlResolver, bool includeHost = false)
fail with null pointer exception if contentLink has no template.
However if GetFriendlyUrl is used that returns string.Empty and:
public QueryStringBuilder(string url)
works somewhat fine
Expect the same behavior from both, either both fail or both succeed
new QueryStringBuilder(contentLink.GetFriendlyUrl())
new QueryStringBuilder(contentLink)
The text was updated successfully, but these errors were encountered: