mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 16:59:51 +00:00
VBB: Trust all HTTPS certificates, because the trust anchor is not known on older devices.
This commit is contained in:
parent
de66342497
commit
14e33621af
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ public class VbbProvider extends AbstractHafasLegacyProvider {
|
|||
setJsonGetStopsUseWeight(false);
|
||||
setJsonNearbyLocationsEncoding(Charsets.UTF_8);
|
||||
setClientType(null);
|
||||
httpClient.setTrustAllCertificates(true);
|
||||
}
|
||||
|
||||
private static final Pattern P_SPLIT_NAME_SU = Pattern.compile("(.*?)(?:\\s+\\((S|U|S\\+U)\\))?");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue