diff options
author | MS <ms@taler.net> | 2020-06-10 17:56:58 +0200 |
---|---|---|
committer | MS <ms@taler.net> | 2020-06-10 17:56:58 +0200 |
commit | 1039a1c2f472155c88fca3d69a7a226c6c4a8d1c (patch) | |
tree | 2daca9d88536caf701a1368df6e5baee2a3978f2 /src/json/json_wire.c | |
parent | ab1fc20a450d57db3d76f04ab6176ee1ff0e59b1 (diff) |
IBAN parser skips BIC part.
Diffstat (limited to 'src/json/json_wire.c')
-rw-r--r-- | src/json/json_wire.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/json/json_wire.c b/src/json/json_wire.c index fc3d67a81..7d3453e16 100644 --- a/src/json/json_wire.c +++ b/src/json/json_wire.c @@ -343,7 +343,8 @@ validate_payto_iban (const char *account_url) IBAN_PREFIX, strlen (IBAN_PREFIX))) return GNUNET_NO; - iban = &account_url[strlen (IBAN_PREFIX)]; + + iban = strrchr (account_url, '/') + 1; #undef IBAN_PREFIX q = strchr (iban, '?'); |