You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an API for encoding and decoding application/x-www-form-urlencoded form data. Proposed API:
// Decode URL-encoded form data, returning the number of variables and a pointer to a// `cups_option_t` array of the variables. Use `cupsFreeOptions` to return memory.externsize_tcupsFormDecode(constchar*data, cups_option_t**vars) _CUPS_PUBLIC;
// Encode options as URL-encoded form data, returning an allocated string. Use `free`// to return memory.externchar*cupsFormEncode(size_tnum_vars, cups_option_t*vars) _CUPS_PUBLIC;
The text was updated successfully, but these errors were encountered:
W3C forms specification defining (poorly) the application/x-www-form-urlencoded MIME media type. Unlike URLs, anything not a letter or digit needs to be percent encoded (which turned up with the unit tests...)
Add an API for encoding and decoding application/x-www-form-urlencoded form data. Proposed API:
The text was updated successfully, but these errors were encountered: