Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return actual AASX file when downloading via GET /server/getaasx/{ID} #75

Closed
jankoh opened this issue Jul 27, 2021 · 2 comments
Closed

Comments

@jankoh
Copy link

jankoh commented Jul 27, 2021

Hi,

while testing the download feature of the REST server part, I figured the aasx file is somehow rebuilt for download. At least the xml part is rewritten.

This will fail, if a signed aasx file is downloaded, since the signature verification of the downloaded file will most likely fail (except for the case the rebuilt xml matches exactly the original one). Also, it simply seems odd the downloaded file does not match the original one.

I suggest, the download endpoint should just take the aasx file from the input folder and send it to the client as is.

@juileetikekar
Copy link
Contributor

juileetikekar commented Mar 28, 2022

@jankoh Thank you for your inputs. We are working on it and the fix will be released soon.

@juileetikekar
Copy link
Contributor

This issue has been fixed in the new REST API support with ASP.NET.
The new REST endpoint is : http:// <Host_Name> :5001/
Swagger documentation for these APIs can be found at : http://<Host_Name>:5001/swagger/index.html
Package explorer can be connected to Aasx-Server by: File -> AASX File Repository -> Connect HTTP/REST Repository and appending "?asp.net" to the new REST endoint as shown in the screenshot.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants