Closed infacc closed 1 year ago
The download link regex in the mapFileUrlToDataRef function
mapFileUrlToDataRef
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.
version=latest
https://github.com/UST-QuAntiL/qhana-backend/blob/349ff4c4466229b8e206ca39dd94027d42c371fd/types.bal#L554
The download link regex in the
mapFileUrlToDataRef
functionhttps://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