MCPcopy Create free account
hub / github.com/Anomen/AuthenticationAngularJS / encodeUriSegment

Function encodeUriSegment

public/javascripts/angular-resource.js:389–394  ·  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-encode

(val)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 1

encodeUriQueryFunction · 0.70

Tested by

no test coverage detected