Squashed commit of the following:
commit
05c21e9ad5c54b6cd37ba55ad9e3324a3bb0e290
Author: Kanimozhi Murthi <kamurthi@cisco.com>
Date: Mon Nov 2 12:11:14 2020 -0500
appid: prefix http/2 decrypted url with "https://
{
if (meta_data[MISC_URL_FID])
delete meta_data[MISC_URL_FID];
- meta_data[MISC_URL_FID] = new std::string(std::string("http://") + *host + *uri);
+ if (asd.get_session_flags(APPID_SESSION_DECRYPTED))
+ meta_data[MISC_URL_FID] = new std::string(std::string("https://") + *host + *uri);
+ else
+ meta_data[MISC_URL_FID] = new std::string(std::string("http://") + *host + *uri);
change_bits.set(APPID_URL_BIT);
}
}