Re: PATCH: Add uri percent-encoding for binary data

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: PATCH: Add uri percent-encoding for binary data
Дата
Msg-id
20200220222758.GA24593@alvherre.pgsql
Ответ на
Список
Дерево обсуждения
PATCH: Add uri percent-encoding for binary data Anders Åstrand <anders@449.se>
Re: PATCH: Add uri percent-encoding for binary data Bruce Momjian <bruce@momjian.us>
Re: PATCH: Add uri percent-encoding for binary data Anders Åstrand <anders@449.se>
Re: PATCH: Add uri percent-encoding for binary data Alvaro Herrera <alvherre@2ndquadrant.com>
Re: PATCH: Add uri percent-encoding for binary data Daniel Gustafsson <daniel@yesql.se>
Re: PATCH: Add uri percent-encoding for binary data Daniel Gustafsson <daniel@yesql.se>
Re: PATCH: Add uri percent-encoding for binary data Daniel Gustafsson <daniel@yesql.se>
Re: PATCH: Add uri percent-encoding for binary data Anders Åstrand <anders@449.se>
Re: PATCH: Add uri percent-encoding for binary data Arthur Zakirov <zaartur@gmail.com>
Re: PATCH: Add uri percent-encoding for binary data Isaac Morland <isaac.morland@gmail.com>
Re: PATCH: Add uri percent-encoding for binary data Anders Åstrand <anders@449.se>
On 2019-Oct-07, Anders Åstrand wrote:

> Attached is a patch for adding uri as an encoding option for
> encode/decode. It uses what's called "percent-encoding" in rfc3986
> (https://tools.ietf.org/html/rfc3986#section-2.1).

Thanks.  Seems useful.  I made a few cosmetic tweaks and it looks almost
ready to me; however, documentation is missing.  I added a stub; can you
please complete that?

To answer Arthur Zakirov's question: yes, the standard recommends
("should") to use uppercase characters:

:  For consistency, URI producers and
:  normalizers should use uppercase hexadecimal digits for all percent-
:  encodings.

Thanks,

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления
От: Michael Leonhard
Дата:
От: Thomas Munro
Дата:
FAQ