Linking ServerConnect Download with AppConnect Download

Hi,

I am having this scenario:

  • A ServerConnect with a Download step and a route such as: api/XXX/{{query.var}}
  • An AppConnect with a download component that has a dynamic url pointing to api/XXX/{{query.var}}. The page with the AppConnect also has a route YYY/{{query.var}}

However, when clicking on the button that triggers the AppConnect download component, the file that is proposed for download has an underscore as a first character and another underscore as a last character.
On the other hand, when using a normal Anchor dynamic url on AppConnect instead of the download component, the anchor works without leading and trailing underscores.
Can you please advise if this is a bug? I am using Wappler 2.2.5