Mercurial > hg > nginx
annotate docs/dtd/changes.dtd @ 7841:ccdf83bee8c1
Mail: fixed backslash handling in IMAP literals.
Previously, s->backslash was set if any of the arguments was a quoted
string with a backslash character. After successful command parsing
this resulted in all arguments being filtered to remove backslashes.
This is, however, incorrect, as backslashes should not be removed from
IMAP literals. For example:
S: * OK IMAP4 ready
C: a01 login {9}
S: + OK
C: user\name "pass\"word"
S: * BAD internal server error
resulted in "Auth-User: username" instead of "Auth-User: user\name"
as it should.
Fix is to apply backslash filtering on per-argument basis during parsing.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 19 May 2021 03:13:23 +0300 |
parents | 5e3bda6f5208 |
children | e79c7521aaf4 |
rev | line source |
---|---|
450 | 1 |
2 <!ENTITY nbsp " " > | |
547 | 3 <!ENTITY mdash " - " > |
450 | 4 |
5 | |
6 <!ELEMENT change_log (changes)* > | |
7 <!ATTLIST change_log title CDATA #REQUIRED > | |
8 | |
9 <!ELEMENT changes (change)* > | |
10 <!ATTLIST changes ver CDATA #REQUIRED | |
11 date CDATA #REQUIRED | |
12 > | |
13 | |
14 <!ELEMENT change (para)* > | |
4831
5e3bda6f5208
Pass changes.xml thru xmllint when generating CHANGES and CHANGES.ru.
Ruslan Ermilov <ru@nginx.com>
parents:
547
diff
changeset
|
15 <!ATTLIST change type (bugfix | feature | change | security | workaround) #IMPLIED > |
450 | 16 |
17 <!ELEMENT para (#PCDATA | at | br | nobr)* > | |
4831
5e3bda6f5208
Pass changes.xml thru xmllint when generating CHANGES and CHANGES.ru.
Ruslan Ermilov <ru@nginx.com>
parents:
547
diff
changeset
|
18 <!ATTLIST para lang (ru | en) #REQUIRED > |
450 | 19 |
20 <!ELEMENT at EMPTY > | |
21 <!ELEMENT br EMPTY > | |
22 <!ELEMENT nobr (#PCDATA) > |