]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
Fix Fortinet realm name extraction
authorDaniel Lenski <dlenski@gmail.com>
Thu, 10 Jun 2021 22:45:08 +0000 (15:45 -0700)
committerDaniel Lenski <dlenski@gmail.com>
Thu, 10 Jun 2021 22:45:47 +0000 (15:45 -0700)
commit013c4aee3af3c524f97f33b8be121005dc89715c
treecc390ffda7db70cd95e74dfea81f986a53dd9e47
parent904b8ff9585ca9d54ca69245c66fed3e797742d0
Fix Fortinet realm name extraction

1. We were inadvertently capturing 6 characters following the 'realm'
   parameter in the query string (e.g.  '&lang=').  Fix and include extra
   parameters in tests to verify.
2. Add another comment about how the 'realm' field is saved in URL-escaped
   form, and test to verify.

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
fortinet.c
tests/fake-fortinet-server.py
tests/fortinet-auth-and-config