mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
Added some unicode chars to URL regex (Closes #462)
This commit is contained in:
parent
4f49c57c0c
commit
77b31c078f
@ -55,7 +55,7 @@ export const CHANGELOG_URL = 'https://changelog.insomnia.rest/changelog.json';
|
|||||||
export const CHANGELOG_PAGE = 'https://insomnia.rest/changelog/';
|
export const CHANGELOG_PAGE = 'https://insomnia.rest/changelog/';
|
||||||
export const STATUS_CODE_PLUGIN_ERROR = -222;
|
export const STATUS_CODE_PLUGIN_ERROR = -222;
|
||||||
export const LARGE_RESPONSE_MB = 5;
|
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 CHECK_FOR_UPDATES_INTERVAL = 1000 * 60 * 60 * 3; // 3 hours
|
||||||
export const PLUGIN_PATH = path.join((electron.remote || electron).app.getPath('userData'), 'plugins');
|
export const PLUGIN_PATH = path.join((electron.remote || electron).app.getPath('userData'), 'plugins');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user