]> git.ktnx.net Git - mobile-ledger.git/commit
prepareConnection: append '/' to the backend URL only if it not already there
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 18 Mar 2019 06:03:28 +0000 (08:03 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 25 Mar 2019 06:17:36 +0000 (06:17 +0000)
commit6c4fb28b7963a0de22836258aef61a440ff8975e
tree902940831653d916e335f7510ea6ac0f826f90cc
parent10e44b707721e113d40accce8196e37511a768d7
prepareConnection: append '/' to the backend URL only if it not already there

avoids URLs like http://server//accounts, which lead to redirects, which
(1) are superflous and (2) MoLe can't handle yet
app/src/main/java/net/ktnx/mobileledger/utils/NetworkUtil.java