pauls-dat-api icon indicating copy to clipboard operation
pauls-dat-api copied to clipboard

Chinese path characters support

Open Evanlai8 opened this issue 7 years ago • 0 comments

Hi,Pfrazee, Could you add Chinese path support to the VALID_PATH_REGEX ?

exports.VALID_PATH_REGEX = /^[a-z0-9-._~!$&'()*+,;=:@/\\s]+$/i

change to

exports.VALID_PATH_REGEX = /^[\u4E00-\u9FA5a-z0-9-._~!$&'()*+,;=:@/\\s]+$/i

thanks

Evanlai8 avatar Mar 21 '18 10:03 Evanlai8