Overview
| Artifact ID: | 2d641db1af6caf67d94196610fb4045a1f220e8db5fca32fe2c13e7221c4eb16 |
|---|---|
| Ticket: | 0063cbcada41024be2d778dc719a64fe2144e0aa
http: wrong parameter "-headers A" not detected and sent anyway |
| User & Date: | oehhar on 2020-09-30 06:56:51 |
Changes
- closedate changed to: "2459122.7894824"
- closer changed to: "oehhar"
- icomment:
Sebres, thank you, this is bad news. I have hoped, that: * the "string is list" routines do not shimmer to string, if the value is already a dict, as a dict is always a valid list. This implies, that there is a valid dict representation. * the llength routine does not shimmer for dicts, as a dict is always a valid list of length (dict size) * 2. This implies, that there is no string representation and only a dict representation. So, I see a high optimization potential in those two routines. On the other hand, do you have a good proposal to check for a valid dict without a catch? I don't like "[catch {dict size $headers}]" to test the format as this pollutes the ::errorX variables. An alternate approach would be to add a check each time, "-headers" is used. But this will happen within a later stage, so no direct feedback to the command call possible (at least not with the -command option). Thank you, Harald - login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- username: "oehhar"