This repository was archived by the owner on Jan 27, 2023. It is now read-only.

Description
Steps to reproduce:
- Create a document that contains a semicolon in the id property
VSS.getService(VSS.ServiceIds.ExtensionData).then(function(dataService) {
dataService.setDocument('MyCollection', {
id: '2020-03-03T15:27:44.01Z',
text: 'test'
});
});
- Try to remove that document
VSS.getService(VSS.ServiceIds.ExtensionData).then(function(dataService) {
dataService.deleteDocument('MyCollection', '2020-03-03T15:27:44.01Z');
});
Current result:
"Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://extmgmt.dev.azure.com/User/_apis/Extens…s/ZendeskExtensionLogs/Documents/2020-03-03T15%3A27%3A44.01Z. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing)." in the debug console.
Message: "An undefined error occurred while attempting to connect to the server. Status code 0: error."
Expected result
User should be able to delete an existing document