MCPcopy Create free account
hub / github.com/SimplyDo/projector / encodeUriSegment

Function encodeUriSegment

lib/angular/angular.js:806–811  ·  view source on GitHub ↗

* We need our custom mehtod because encodeURIComponent is too agressive 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.70
LocationUrlFunction · 0.70
LocationHashbangUrlFunction · 0.70

Calls 1

encodeUriQueryFunction · 0.70

Tested by

no test coverage detected