Browse Source

- and _ are also safe characters

master
Felix von Leitner 4 years ago
parent
commit
30780dd5f0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      textcode/fmt_urlencoded.c

+ 1
- 1
textcode/fmt_urlencoded.c View File

@@ -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