msgraph-sdk-dotnet
msgraph-sdk-dotnet copied to clipboard
[Client bug]: File with "&#" characters in the filename can`t be uploaded
Describe the bug File with "&#" characters (next to each other) in the filename,e causes errors when requesting or uploading the item Example filename: 屜丯愛金—―〜~‖∥−-¦¦№ 鷗㐀葛渚噓𠀋.pptx
Adding a separator between characters allows to successfully send a request. Example filename: 屜丯愛金—―〜~‖∥−-¦¦№ 鷗㐀葛渚噓&-#x2000B.pptx
Code to reproduce issue
string path = "file%26%23.pptx"
GraphClient.Users[msUserID].Drives[driveID].Root.ItemWithPath("/" + path).Request().GetAsync().Result;
Expected behavior The request should be successful
Client version 1.21.0
#700 Maybe related
Closing older stale issues. Please reopen if occurs with v5.