aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_static.erl
diff options
context:
space:
mode:
authorPaul Fisher <[email protected]>2015-12-22 12:19:28 -0600
committerLoïc Hoguin <[email protected]>2018-01-16 11:24:49 +0100
commit82cd22a88b3f87064d9f17e36652b104b709a679 (patch)
treeb5213d9ce5120381cd3d2179ff12bc24622fe9be /src/cowboy_static.erl
parent7cb3a9dbda1c836057e439ed28ebda9799453b34 (diff)
downloadcowboy-82cd22a88b3f87064d9f17e36652b104b709a679.tar.gz
cowboy-82cd22a88b3f87064d9f17e36652b104b709a679.tar.bz2
cowboy-82cd22a88b3f87064d9f17e36652b104b709a679.zip
Allow colon within path segments
Allow `cowboy_router:compile` to handle colon characters within path segments, rather than exiting with `badarg`. This is allowed via RFC 7230 2.7 -> [RFC 3986 3.3](https://tools.ietf.org/html/rfc3986#section-3.3): ``` segment = *pchar segment-nz = 1*pchar segment-nz-nc = 1*( unreserved / pct-encoded / sub-delims / "@" ) ; non-zero-length segment without any colon ":" pchar = unreserved / pct-encoded / sub-delims / ":" / "@" ```
Diffstat (limited to 'src/cowboy_static.erl')
0 files changed, 0 insertions, 0 deletions