I am using the following Graph API endpoint:
GET https://graph.microsoft.com/v1.0/me/calendar/calendarView
The response contains events in the following format:
{
...
"id": "AAMkADZjMDVjNGY5LWUwMWQtNDRlMC05MTNmLTNjOWJmZjM1YjY4OQFRAAgI2mt1HuTAAEYAAAAAp32JOAzZfUqe3sNF-R569AcAjguvQoXmFUOqtPWAHs7uqgAAAAABDQAAjguvQoXmFUOqtPWAHs7uqgAANfM_SAAAEA==",
"webLink": "https://outlook.office365.com/owa/?itemid=AAMkADZjMDVjNGY5LWUwMWQtNDRlMC05MTNmLTNjOWJmZjM1YjY4OQFRAAgI2mt1HuTAAEYAAAAAp32JOAzZfUqe3sNF%2FR569AcAjguvQoXmFUOqtPWAHs7uqgAAAAABDQAAjguvQoXmFUOqtPWAHs7uqgAANfM%2BSAAAEA%3D%3D&exvsurl=1&path=/calendar/item",
...
}
As we can see the webLink property also contains the event ID, but is encoded.
When I use the following function to decode the webLink property:
window.decodeURIComponent('https://outlook.office365.com/owa/?itemid=AAMkADZjMDVjNGY5LWUwMWQtNDRlMC05MTNmLTNjOWJmZjM1YjY4OQFRAAgI2mt1HuTAAEYAAAAAp32JOAzZfUqe3sNF%2FR569AcAjguvQoXmFUOqtPWAHs7uqgAAAAABDQAAjguvQoXmFUOqtPWAHs7uqgAANfM%2BSAAAEA%3D%3D&exvsurl=1&path=/calendar/item')
I receive:
https://outlook.office365.com/owa/?itemid=AAMkADZjMDVjNGY5LWUwMWQtNDRlMC05MTNmLTNjOWJmZjM1YjY4OQFRAAgI2mt1HuTAAEYAAAAAp32JOAzZfUqe3sNF/R569AcAjguvQoXmFUOqtPWAHs7uqgAAAAABDQAAjguvQoXmFUOqtPWAHs7uqgAANfM+SAAAEA==&exvsurl=1&path=/calendar/item
When you compare this result with the original event ID you can see, that the result is different.
- instead of _
/ instead of -
etc.
So it seems that the webLink is encoded wrong.
Has anyone experienced the same?
If my assumption is correct where can I report this bug?
Thank you in advance.