Invoke-RESTMethod truncates final period of URIs - by davidski

Status : 

 


1
0
Sign in
to vote
ID 772995 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 11/30/2012 7:59:04 AM
Access Restriction Public

Description

When the final non-slash character of the request URI being passed to invoke-restmethod is a period, PowerShell is removing the period and sending the modified URI on to the web server. This is confirmed with network traces and does not occur when calling the URI directly via a web browser.

This happens when the last non-slash character is a period or a URI escaped "%2E".
Sign in to post a comment.