remove url stuff

I recommend using libcurl or similar for that
This commit is contained in:
2025-05-21 20:36:47 +02:00
parent c3824e1dc7
commit 5b4a3f84e5
3 changed files with 1 additions and 157 deletions

View File

@ -43,18 +43,5 @@ char* strops_remove_string(const char* string, const char* string_to_remove);
ull_t strops_word_count(const char* string);
int strops_is_url_encoded(const char* string);
/*
https://www.w3schools.com/tags/ref_urlencode.asp
PLEASE NEVER USE THEM WITHOUT UNDERSTANDING THEIR ISSUES!
They will fully remove the following '%20 %21 %22 %23 %24 %26 %27 %28 %29 %2A %2C %2E %2F \
%3B %3C %3E %3F %5B %5C %5D %5E %60 %7B %7C %7D %7E'
These will get turned into their ascii counterpart '%25 %2B %2D %2E %2F %3A %3D %40 %5F'
They will return NULL on failure
*/
char* strops_url_encode(const char* string);
char* strops_url_decode(const char* string);
#endif /* STROPS_H */