-
Notifications
You must be signed in to change notification settings - Fork 32
Allowed characters in URLs transported in the body of an API call. #391
Copy link
Copy link
Closed
Labels
Description
Problem description
Allowed characters in URLs that are sent in the body of an API call, e.g. TMF931 operation “/applicationOwner" with "privacyPolicyURL". are defined in RFC 3896
There is a set of reserved characters:
reserved = gen-delims / sub-delims
gen-delims = ":" / "/" / "?" / "#" / "[" / "]" / "@"
sub-delims = "!" / "$" / "&" / "'" / "(" / ")"
/ "*" / "+" / "," / ";" / "="
and a set of unreserved
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
However we have found in some cases implemented validation only allows
unreserved = ALPHA / DIGIT
Possible evolution
Include a statement in the documentation that validation should conform to RFC 3986 and allow :
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~
when an URL is sent as a part of the body.
Reactions are currently unavailable