Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ UrlPathEncode()

static string System.Web.Util.HttpEncoder.UrlPathEncode ( string value)
inlinestaticpackage

Definition at line 596 of file HttpEncoder.cs.

597 {
598 if (string.IsNullOrEmpty(value))
599 {
600 return value;
601 }
602 if (!UriUtil.TrySplitUriForPathEncode(value, out var schemeAndAuthority, out var path, out var queryAndFragment))
603 {
604 schemeAndAuthority = null;
605 path = value;
606 queryAndFragment = null;
607 }
608 return schemeAndAuthority + UrlPathEncodeImpl(path) + queryAndFragment;
609 }
static string UrlPathEncodeImpl(string value)

References System.Web.Util.UriUtil.TrySplitUriForPathEncode(), System.Web.Util.HttpEncoder.UrlPathEncodeImpl(), and System.value.

Referenced by System.Web.HttpUtility.UrlPathEncode().