X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=util.cc;h=13ad9918d5a21e69dedeb3e9636bc34a99c9897f;hb=90073d1fa61f5ac3f033dc6aab351b9add40dcaf;hp=c1b5f41697b91e5d0ddd2e3edf81301f9fd84d0e;hpb=1f5847c5aec12e3a83fcace0afe7ff36d8d19e0a;p=cumulus.git diff --git a/util.cc b/util.cc index c1b5f41..13ad991 100644 --- a/util.cc +++ b/util.cc @@ -27,7 +27,7 @@ string uri_encode(const string &in) for (size_t i = 0; i < in.length(); i++) { unsigned char c = in[i]; - if (c >= '+' && c < 0x7f) { + if (c >= '+' && c < 0x7f && c != '@') { out += c; } else { char buf[4];