Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit d4846a5

Browse files
Merge pull request #6 from AndrewNatoli/fix-outlook
Disable URI encode for Outlook
2 parents 9410388 + b99bc4d commit d4846a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export const buildShareUrl = (
105105
{ description, duration, endDatetime, location, startDatetime, title },
106106
type,
107107
) => {
108-
const encodeURI = type !== SHARE_SITES.ICAL;
108+
const encodeURI = type !== SHARE_SITES.ICAL && type !== SHARE_SITES.OUTLOOK;
109109

110110
const data = {
111111
description: encodeURI ? encodeURIComponent(description) : description,

0 commit comments

Comments
 (0)