UST-QuAntiL / qhana-backend

The new REST backend for QHAna (see also qhana-plugin-runner)
Apache License 2.0
1 stars 2 forks source link

Handle version specifier 'latest' #46

Closed infacc closed 1 year ago

infacc commented 1 year ago

The download link regex in the mapFileUrlToDataRef function

https://github.com/UST-QuAntiL/qhana-backend/blob/349ff4c4466229b8e206ca39dd94027d42c371fd/types.bal#L537

allows the URL parameter version=latest, which causes an error when the version number is parsed to an integer.

https://github.com/UST-QuAntiL/qhana-backend/blob/349ff4c4466229b8e206ca39dd94027d42c371fd/types.bal#L554