- and _ are also safe characters

master
leitner 8 years ago
parent a7f74699da
commit 26a193bff0

@ -4,7 +4,7 @@
#include "haveinline.h" #include "haveinline.h"
static inline int issafe(unsigned char c) { static inline int issafe(unsigned char c) {
const char safe[] = "$/.=~"; const char safe[] = "$/.=~-_";
return ((c>='A' && c<='Z') || return ((c>='A' && c<='Z') ||
(c>='a' && c<='z') || (c>='a' && c<='z') ||
(c>='0' && c<='9') || (c>='0' && c<='9') ||

Loading…
Cancel
Save