aboutsummaryrefslogtreecommitdiffstats
path: root/extcap/ssh-base.c
diff options
context:
space:
mode:
authorEldon Stegall <wireshark-gerrit@eldondev.com>2017-10-17 14:55:52 +0000
committerAnders Broman <a.broman58@gmail.com>2017-10-23 04:42:51 +0000
commitc7918da8a6b28fc515d273c16a9ffca2a4b9e119 (patch)
tree60d23bbba857826744cc29485d432f46e3bbe296 /extcap/ssh-base.c
parentb74af851471687e258fa7624a498981b77ebdba6 (diff)
Improve http object export for URLs with long extensions
This allows the export of objects with extensions that may be longer than the allowed file name of an export (due to underlying filesystem, etc). The extension detection mechanism previously preserved everything in the file name after the final ".", but in some cases (especially with long query strings) this would exceed the allowed maximum file length, and simply refuse to export the object. Now, if the length of the extension and duplicate number is longer than the allowable file length, the extension is ignored, and the entire string is truncated to allow an acceptable export filename. Bug: 14130 Change-Id: I6fa0281519d031c07a9ac621002ac328f34f54cc Reviewed-on: https://code.wireshark.org/review/23960 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'extcap/ssh-base.c')
0 files changed, 0 insertions, 0 deletions