Bug: API returns link to attachment decoded twice
STEPS TO REPRODUCE:
1. Attach "name.txt" file to Task in Planner Plan
2. In Microsoft Graph Explorer run query: https://graph.microsoft.com/v1.0/planner/tasks/{task-id}/details
CURRENT RESULT:
Today 28.03.2018 reference looks like:
"https%3A//tenantname%2Esharepoint%2Ecom/sites/1A1/Shared%2520Documents/name%2Etxt?web=1"
EXPECTED RESULT:
Reference looks like: "https://tenantname.sharepoint.com/sites/1A1/Shared%20Documents/name.txt?web=1"

1 comment
-
George commented
I think this is opposite to behaviour from the Planner UI.
There if you enter a link that contains escaped characters they are interrupted and replaced. Specific example.
Paste "https://localhost:9999/a/test%2Fpath" into the link
The link is transformed to "https://localhost:9999/a/test/path" which malforms links for various webapps, sabacloud.com course links in this particular case.