MCPcopy Create free account
hub / github.com/ckken/pm2Manage / encodeUriSegment

Function encodeUriSegment

lib/angular/angular.js:1151–1156  ·  view source on GitHub ↗

* We need our custom method because encodeURIComponent is too aggressive and doesn't follow * http://www.ietf.org/rfc/rfc3986.txt with regards to the character set (pchar) allowed in path * segments: * segment = *pchar * pchar = unreserved / pct-encoded / sub-delims / ":" / "

(val)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

encodePathFunction · 0.85
LocationHtml5UrlFunction · 0.85
LocationHashbangUrlFunction · 0.85

Calls 1

encodeUriQueryFunction · 0.85

Tested by

no test coverage detected