diff --git a/app/common/constants.js b/app/common/constants.js index d3e9481e1..09a443966 100644 --- a/app/common/constants.js +++ b/app/common/constants.js @@ -55,7 +55,7 @@ export const CHANGELOG_URL = 'https://changelog.insomnia.rest/changelog.json'; export const CHANGELOG_PAGE = 'https://insomnia.rest/changelog/'; export const STATUS_CODE_PLUGIN_ERROR = -222; export const LARGE_RESPONSE_MB = 5; -export const FLEXIBLE_URL_REGEX = /^(http|https):\/\/[0-9a-zA-Z\-_.]+[/\w.\-+=:\][@%^*&!#?;]*/; +export const FLEXIBLE_URL_REGEX = /^(http|https):\/\/[\wàâäèéêëîïôóœùûüÿçÀÂÄÈÉÊËÎÏÔŒÙÛÜŸÇ\-_.]+[/\wàâäèéêëîïôóœùûüÿçÀÂÄÈÉÊËÎÏÔŒÙÛÜŸÇ.\-+=:\][@%^*&!#?;]*/; export const CHECK_FOR_UPDATES_INTERVAL = 1000 * 60 * 60 * 3; // 3 hours export const PLUGIN_PATH = path.join((electron.remote || electron).app.getPath('userData'), 'plugins');