diff options
-rw-r--r-- | src/extension.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension.ts b/src/extension.ts index f9855af..20afe34 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -34,7 +34,7 @@ export function activate(context: vscode.ExtensionContext) { axios({ method: 'post', url: 'http://kopy.io/documents', - data: `data=${encodeURI(encryptedData)}&keep=${supportedTimes.one_hr}&language=-1&&security=encrypted&font=Source+Code+Pro&font-size=auto&line-spacing=-1&wrapping=Disabled` + data: `data=${encodeURIComponent(encryptedData)}&keep=${supportedTimes.one_hr}&language=-1&&security=encrypted&font=Source+Code+Pro&font-size=auto&line-spacing=-1&wrapping=Disabled` }).then((response) => { if(response.status===200){ let openUrl = "Open Url"; |