URL Encoding (%U) Behavior Changed - Caveat

With compatibilityversion 8 and later, URL encoding via the <fmt "%U"> code changes:

  • Colon, tilde, exclamation point, dollar-sign, single-quote, left- and right-parenthesis, asterisk, and comma are left as-is (earlier versions percent-encoded them).

  • With the p (path) flag, &+;= (query-relevant characters) are left as-is, and + is not decoded (when the ! flag is also given).

  • With the q (query) flag, + is used instead of %20 to encoded space, and colon is percent-encoded.

  • The q flag no longer encodes @/.

See here for details.

Copyright © Thunderstone Software     Last updated: Oct 24 2023
Copyright © 2024 Thunderstone Software LLC. All rights reserved.