kaniko/pkg
Naveen 783979948d
Fix - Incomplete regular expression for hostnames (#1993)
Fixed the codeql issue
```
Sanitizing untrusted URLs is an important technique for preventing attacks such as request forgeries and malicious redirections. Often, this is done by checking that the host of a URL is in a set of allowed hosts.

If a regular expression implements such a check, it is easy to accidentally make the check too permissive by not escaping regular-expression meta-characters such as ..

Even if the check is not used in a security-critical context, the incomplete check may still cause undesirable behavior when it accidentally succeeds.

```
2022-03-16 00:16:04 -04:00
..
buildcontext tar: read directly from stdin (#1728) 2021-12-26 07:09:26 -05:00
cache Try to warm all images and warn about errors (#1653) 2021-06-04 10:07:57 -07:00
commands Fix resolving arguments over multi-stage build (#1928) 2022-02-10 09:22:21 -08:00
config Remove tarball.WithCompressedCaching flag to resolve OOM Killed error (#1722) 2021-10-19 00:14:06 -07:00
constants Fix - Incomplete regular expression for hostnames (#1993) 2022-03-16 00:16:04 -04:00
creds Fix bug with log disabling (#1959) 2022-02-28 15:02:05 -05:00
dockerfile Restore build args after optimize. Fixes #1910, #1912. (#1915) 2022-02-09 11:50:40 -05:00
executor Fix resolving arguments over multi-stage build (#1928) 2022-02-10 09:22:21 -08:00
fakes refactor cache.Warm and add tests 2020-01-10 12:29:17 -08:00
filesystem test: use `T.TempDir` to create temporary test directory (#1918) 2022-02-07 13:27:34 -05:00
image Correctly handle platforms that include CPU variants (#1929) 2022-02-10 09:12:23 -08:00
logging Add timestamp to logs 2020-04-23 13:40:47 +02:00
mocks/go-containerregistry/mockv1 rename mock pkg for lint 2020-01-17 14:59:14 -08:00
snapshot test: use `T.TempDir` to create temporary test directory (#1918) 2022-02-07 13:27:34 -05:00
timing Add a lot more timing data. (#518) 2019-01-10 13:27:55 -07:00
util test: use `T.TempDir` to create temporary test directory (#1918) 2022-02-07 13:27:34 -05:00
version Set a user-agent for registry pushes. (#87) 2018-04-13 14:25:58 -07:00