fix 1.23.4: normalize taler:// :443/:80 + mon scan all landings
Shared lib.sh normalize_taler_uri for ladder/e2e/pay. urls phase checks public bank/exchange/merchant intros and bank mint JSON for residual default ports (ERROR on GOA/local). Unit test included.
This commit is contained in:
parent
a103eeab9d
commit
d420043863
10 changed files with 225 additions and 12 deletions
|
|
@ -67,7 +67,7 @@ except Exception:
|
|||
' "$SCRATCH/ord-$ptag.json" 2>/dev/null || true)
|
||||
if [ -n "$OID" ] && [ -n "$OTOK" ]; then
|
||||
PAYURI="taler://pay/${mh}/instances/${inst}/${OID}/?c=${OTOK}"
|
||||
PAYURI=$(printf '%s' "$PAYURI" | sed 's/:443\//\//g; s/:443?/?/g')
|
||||
PAYURI=$(normalize_taler_uri "$PAYURI")
|
||||
return 0
|
||||
fi
|
||||
fi
|
||||
|
|
@ -98,7 +98,7 @@ except Exception: print("")
|
|||
if [ -z "$PAYURI" ] && [ -n "$OTOK" ]; then
|
||||
PAYURI="taler://pay/${mh}/instances/${INST}/${OID}/?c=${OTOK}"
|
||||
fi
|
||||
PAYURI=$(printf '%s' "$PAYURI" | sed 's/:443\//\//g; s/:443?/?/g')
|
||||
PAYURI=$(normalize_taler_uri "$PAYURI")
|
||||
[ -n "$PAYURI" ]
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue