Browse Source

- and _ are also safe characters

master
Felix von Leitner 5 years ago
parent
commit
30780dd5f0
  1. 2
      textcode/fmt_urlencoded.c

2
textcode/fmt_urlencoded.c

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

Loading…
Cancel
Save