Commit aaf142e
Update OneDriveLargeFileUploadTask.ts (#325)
* Update OneDriveLargeFileUploadTask.ts
Trying to upload files with the '#' or '%' character in the filename ends with network errors of the form -
400 status response "The parameter item does not exist in method getByPath"
Encoding the entire URL does not encode URL components correctly. When the SDK's client tries to encode these URL components in the parameters on the call to OneDriveLargeFileUploadTask.create, then the resultant file in OneDrive has the URL encoded filename (as opposed to the user-friendly/decoded filename). Therefore, fix the encoding in the SDK's URL components itself, directly.
* Update OneDriveLargeFileUploadTask.ts
Fix typo
* Update src/tasks/OneDriveLargeFileUploadTask.ts
Updated comment
Co-authored-by: Mustafa Zengin <mzengin88@gmail.com>
* Update OneDriveLargeFileUploadTask.ts
Updated comment
Co-authored-by: Mustafa Zengin <mzengin88@gmail.com>1 parent ab824f7 commit aaf142e
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
0 commit comments