Home Dashboard Directory Help
Search

Invoke-RESTMethod truncates final period of URIs by davidski


Status: 

Active


1
0
Sign in
to vote
Type: Bug
ID: 772995
Opened: 11/30/2012 7:59:04 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

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".
Details
Sign in to post a comment.
Sign in to post a workaround.