Skip to content

Commit ca0dfc7

Browse files
Potential fix for code scanning alert no. 43: Incomplete regular expression for hostnames
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 40d3c50 commit ca0dfc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/cypress/e2e/volume/volume_creation_error.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ describe('volume creation fails', () => {
2525
fixture: '/kubernetes/volumecreation.json',
2626
});
2727

28-
cy.intercept('GET', /^\/api\/kubernetes\/apis\/storage.metalk8s.scality.com\/v1alpha1\/volumes\/[a-z0-9_\-]+$/, {
28+
cy.intercept('GET', /^\/api\/kubernetes\/apis\/storage\.metalk8s\.scality\.com\/v1alpha1\/volumes\/[a-z0-9_\-]+$/, {
2929
fixture: '/kubernetes/volumecreation.json',
3030
});
3131
cy.findByRole('button', { name: /create/i }).click();

0 commit comments

Comments
 (0)