8 Commits

Author SHA1 Message Date
Alan de Freitas b662a8f0c6 fix: encode() noexcept on throwing template 2026-03-02 19:44:17 -05:00
Alan de Freitas ec15fce38c fix: encode() UB pointer arithmetic for small buffers 2026-03-02 19:44:17 -05:00
Alan de Freitas 64859a8fc2 fix: consistent behavior for space-as-plus option
This commit refactors all functions so they have consistent behavior for the space-as-plus encoding option.

- any_params_iter objects store and apply the appropriate option when measuring and copying
- when the option is enabled, encoding functions encode space-as-plus and plus as %2B regardless of the charset
- normalization and comparison algorithms take into consideration special query chars whose meaning changes depending on encoding
- all params_view objects created with default options enable space-as-plus encoding

fix #903
2025-05-15 16:04:06 -05:00
alandefreitas 96438f683e remove type aliases
fix #743
2023-04-28 17:27:26 -03:00
Vinnie Falco 9f5740178c encoding_opts unified options
fix #592, fix #237, fix #574
2022-10-24 16:43:37 -03:00
alandefreitas 251855bbb4 pct-encoding overloads
fix #417
2022-10-10 16:06:24 -07:00
alandefreitas de907fe2f3 update links 2022-09-09 16:13:32 -03:00
alandefreitas afb91bc384 refactor decode/encode functions
fix #448, fix #438
2022-08-25 17:40:14 -03:00