iri.c
Source contains an unconditional loopCalls a native string-search API
SHA-256c3a25e879e4d3152b22271f89740fcdd7eb5dc00d46ceab4dd2c2876b648f147
MaleculeO(Er)H(Db₂)
Evidence
2:32… 5, 2018-2024 Free Software Foundation,
3 Inc.
4
5This file is part of GNU Wget.
6
7GNU Wget is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 3 of the License, or (at
10your opti …
10:22… r version.
11
12GNU Wget is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with Wget. If not, see <http://www.gnu.org/licenses/>.
19
20Additional permission under GNU GPL version …
28:54… L used as well
29as that of the covered work. */
30
31#include "wget.h"
32
33#include <stdio.h>
34#include <stdlib.h>
35#include <string.h>
36#include <langinfo.h>
37#include <errno.h>
38#ifdef HAVE_ICONV
39# include <iconv.h>
40#endif
41#include <idn2.h>
42#if IDN2_VERSION_NUMBER < 0x00140000
43# include <unicase.h>
44# include <unistr.h>
45#endif
46
47#include "utils.h"
48#include "url.h"
49#include "c-strcase.h"
50#include "c-strcasestr.h"
51#include "xstrndup.h"
52
53/* Note: locale encoding is kept in options struct (opt.locale) */
54
55/* Given a string contai …
73:4… * sXXXav: which chars should be banned ??? */
74 while (*end && !c_isspace (*end))
75 end++;
76
⋯4 lines
166:33… embedded passwords, in_org might be an URL */
167 if (!strchr(in_org, '@') && !strchr(*out, '@'))
168 debug_logprintf ("converted '%s' (%s) -> '%s' (%s)\n", in_org, fromcode, *out …