View Issue Details

IDProjectCategoryView StatusLast Update
0006786Talerexchange API (C)public2021-03-05 21:50
Reportersebasjm Assigned ToChristian Grothoff  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Versiongit (master) 
Target Version0.9Fixed in Version0.9 
Summary0006786: creating a reserve with a invalid exchange URL make the merchant crash
DescriptionSending a create request to /private/reserves with exchange_url with the missing slash at the end.
Steps To Reproducecurl 'http://localhost:9966/private/reserves' \
  -H 'Authorization: Bearer secret-token:super_secret_do_not_show' \
  --data-raw '{"wire_method":"x-taler-bank","initial_balance":"COL:18","exchange_url":"http://exchange.taler:8081"}'

Additional InformationIt crash when trying to request the exchange for the keys function request_keys at exchange_api_handle.c:1903
TagsNo tags attached.

Activities

Christian Grothoff

2021-03-05 21:49

manager   ~0017603

2cb5982..8e540b3 fixes the issue, together with the companion fix in exchange and gana.

Issue History

Date Modified Username Field Change
2021-03-04 16:15 sebasjm New Issue
2021-03-04 16:15 sebasjm Status new => assigned
2021-03-04 16:15 sebasjm Assigned To => Christian Grothoff
2021-03-05 21:49 Christian Grothoff Note Added: 0017603
2021-03-05 21:50 Christian Grothoff Status assigned => resolved
2021-03-05 21:50 Christian Grothoff Resolution open => fixed
2021-03-05 21:50 Christian Grothoff Fixed in Version => 0.9
2021-03-05 21:50 Christian Grothoff Target Version git (master) => 0.9