MCPcopy Index your code
hub / github.com/PsChina/angularJS / encodeUriSegment

Function encodeUriSegment

2-gulp/demo/angular.js:1597–1602  ·  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 4

encodePathFunction · 0.85
LocationHtml5UrlFunction · 0.85
LocationHashbangUrlFunction · 0.85

Calls 1

encodeUriQueryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…