]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
URL-decode GlobalProtect login response fields
authorDaniel Lenski <dlenski@gmail.com>
Sun, 19 Apr 2020 01:13:39 +0000 (18:13 -0700)
committerDaniel Lenski <dlenski@gmail.com>
Tue, 21 Apr 2020 16:44:38 +0000 (09:44 -0700)
commit494e81eac1d8465cdbe072115a68b002281c0efe
treea41869e794f49950f80a6c769c5171bed591547e
parenta73743d13e4c75ea19635f8e725907b7cd8477f8
URL-decode GlobalProtect login response fields

The usage of URL encoding in the fields sent by GP servers here is
inconsistent, but in particular the value "%28empty_domain%29" keeps popping up
in places where the server expects "(empty_domain)" (like the stupidly redundant
logout operation). So we do this to be safe and to ensure logout succeeds.

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
auth-globalprotect.c