Skip to content

Conversation

@duobei
Copy link
Contributor

@duobei duobei commented Nov 8, 2023

For the check of function assert_url_is_valid, repository-domain-name-allowlist doesn't work if you use the full FQDN for a server.

The assert_url_is_valid only allows if the host ends with .<entry in repository-domain-name-allowlist>. Now it is extended to allow if the hosts matches the entry in the list too.

@minglumlu
Copy link
Member

Hi @duobei, Can you please squash the commits into one and fix the typo in commit message the hosts matches ...?

For the check of function `assert_url_is_valid`, repository-domain-name-allowlist
doesn't work if you use the full FQDN for a server.

The `assert_url_is_valid` only allows if the host ends with .<entry in repository-domain-name-allowlist>.
Now it is extended to allow if the host matches the entry in the list too.

Signed-off-by: Feiya Zhang <feiya.zhang@cloud.com>
@duobei duobei force-pushed the private/fezhan/CA-365486 branch from 7dfb371 to 18eded2 Compare November 21, 2023 09:30
@minglumlu minglumlu merged commit 7ac88b9 into xapi-project:master Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants