jpsider / RestPS

Simple ReST Framework for Powershell
MIT License
114 stars 31 forks source link

Can't handle URL argumentlist with & #68

Open chbwien opened 2 years ago

chbwien commented 2 years ago

Using the current version 44 if I put any & in the URL argument list, the rest server crashes. Looks like powershell tries to execute something on the way to the endpoint script. The endpoint script is never called.

jpsider commented 2 years ago

Can you post an example url?

Did this work in previous versions?

chbwien commented 2 years ago

Just found out, this does work, when you use powershell scripts as endpoints, but not if you accidentially use the endpoint path without .ps1 (still powershell)

So kind of my fault, but strange behaviour of the server.

BTW, are there known restrictions of the certificate usage? I am running an iis on the server and the iis uses a certificate. No problem. BUT if I try to use the same certificate with the thumbprint for restps, I get a 1312 error during the startup. SSL Certificate add failed, Error: 1312 A specified logon session does not exist. It may already have been terminated.

CU

Christian

------ Originalnachricht ------ Von "Justin Sider" @.> An "jpsider/RestPS" @.> Cc "Christian Beck" @.>; "Author" @.> Datum 25.08.2022 18:16:05 Betreff Re: [jpsider/RestPS] Can't handle URL argumentlist with & (Issue

68)

Can you post an example url?

Did this work in previous versions?

— Reply to this email directly, view it on GitHub https://github.com/jpsider/RestPS/issues/68#issuecomment-1227486551, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABV22J6T4ZUPC5ON6MGZAETV26L4LANCNFSM57TQGTDQ. You are receiving this because you authored the thread.Message ID: @.***>