Changeset 5453:953430663eff
- Timestamp:
- 2008-07-11 02:33:13 (5 months ago)
- Author:
- Rocco Rutte <pdmef@…>
- Branch:
- HEAD
- Message:
-
Allow UTF-8 charset to be misspelled as "utf8"
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r5451
|
r5453
|
|
| | 1 | 2008-07-11 08:47 +0200 Rocco Rutte <pdmef@gmx.net> (934a802dff7f) |
| | 2 | |
| | 3 | * mutt_ssl.c: Verify hostname in (Open)SSL certificate validation |
| | 4 | |
| | 5 | This is based on the patch by gkloepfer attached to #3087 but passes |
| | 6 | the proper connection as argument (avoiding adding hostname to |
| | 7 | struct sslsockdata) and validates the hostname even in case OpenSSL |
| | 8 | cannot find the local issuer certificate. GnuTLS already supports |
| | 9 | hostname checking. Closes #3087. |
| | 10 | |
| | 11 | 2008-07-10 22:02 +0200 Rocco Rutte <pdmef@gmx.net> (b9ac445b035b) |
| | 12 | |
| | 13 | * ChangeLog, hcache.c: Prevent some pointers of 'struct body' being |
| | 14 | saved to hcache |
| | 15 | |
| | 16 | This addresses the hcache safety issue but maybe doesn't fix it |
| | 17 | completely, see #2942. This also prevents mutt from crashing when |
| | 18 | using a hcache that was synced when syncing the mailbox (updating |
| | 19 | changed and fully-parsed messages). |
| | 20 | |
| 1 | 21 | 2008-07-10 21:46 +0200 Aron Griffis <agriffis@n01se.net> (6244eefaea64) |
| 2 | 22 | |
-
|
r4976
|
r5453
|
|
| 246 | 246 | char scratch[LONG_STRING]; |
| 247 | 247 | |
| 248 | | if (!ascii_strcasecmp (name, "utf-8")) |
| | 248 | if (!ascii_strcasecmp (name, "utf-8") || !ascii_strcasecmp (name, "utf8")) |
| 249 | 249 | { |
| 250 | 250 | strfcpy (dest, "utf-8", dlen); |