Use HTTPS for GLPals

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2023-01-20 21:20:29 -05:00
parent 3943ebc749
commit 626821d12d
No known key found for this signature in database
GPG key ID: B286E9F57A07424B
2 changed files with 3 additions and 2 deletions

View file

@ -518,7 +518,7 @@ hardenLocationConf() {
sed -i 's|xtrapath3|xtrapath6|' "$gpsConfig" &>/dev/null || true;
#Enable HTTPS (IZatCloud supports HTTPS)
sed -i 's|http://xtrapath|https://xtrapath|' "$gpsConfig" &>/dev/null || true;
#sed -i 's|http://gllto|https://gllto|' "$gpsConfig" &>/dev/null || true; XXX: GLPals has an invaid certificate
sed -i 's|http://gllto|https://gllto|' "$gpsConfig" &>/dev/null || true;
echo "Enhanced location services for $gpsConfig";
}
export -f hardenLocationConf;
@ -544,7 +544,7 @@ hardenLocationFWB() {
sed -i 's|xtrapath3|xtrapath6|' "$dir"/frameworks/base/core/res/res/values*/*.xml &>/dev/null || true;
#Enable HTTPS (IZatCloud supports HTTPS)
sed -i 's|http://xtrapath|https://xtrapath|' "$dir"/frameworks/base/core/res/res/values*/*.xml &>/dev/null || true;
#sed -i 's|http://gllto|https://gllto|' "$dir"/frameworks/base/core/res/res/values*/*.xml &>/dev/null || true; XXX: GLPals has an invaid certificate
sed -i 's|http://gllto|https://gllto|' "$dir"/frameworks/base/core/res/res/values*/*.xml &>/dev/null || true;
echo "Enhanced location services for $dir";
}
export -f hardenLocationFWB;