~bibledit/bibledit/ubuntu-cloud

« back to all changes in this revision

Viewing changes to filter/UriCodec.cpp

  • Committer: Teus Benschop
  • Date: 2022-08-30 18:42:32 UTC
  • Revision ID: teusjannette@gmail.com-20220830184232-a5bf5fkj14cqdx01
new upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#pragma GCC system_header
 
2
 
1
3
/**
2
4
 * Uri encode and decode (RFC1630, RFC1738, RFC2396)
3
5
 * http://www.codeguru.com/cpp/cpp/algorithms/strings/article.php/c12759/URI-Encoding-and-Decoding.htm
20
22
 
21
23
#include <string>
22
24
 
 
25
#pragma clang diagnostic ignored "-Wsign-conversion"
 
26
#pragma clang diagnostic ignored "-Wimplicit-int-conversion"
 
27
#pragma GCC diagnostic ignored "-Wconversion"
 
28
 
23
29
#ifdef OLDCODE
24
30
const char HEX2DEC[256] =
25
31
{