Skip to content

Conversation

@adamdbradley
Copy link
Contributor

No description provided.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jul 18, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 662df48
Status: ✅  Deploy successful!
Preview URL: https://7c167a06.qwik-docs.pages.dev
Branch Preview URL: https://vite-routes.qwik-docs.pages.dev

View logs

const importPath = JSON.stringify(getImportPath(layout.filePath));
if (dynamicImports) {
c.push(`const ${layout.id} = ()=>import(${JSON.stringify(importPath)});`);
c.push(`const ${layout.id} = ()=>import(${importPath});`);

Check warning

Code scanning / CodeQL

Improper code sanitization

[Improperly sanitized value](1) flows to here and is used to construct code.
for (const m of ctx.menus) {
const importPath = JSON.stringify(getImportPath(m.filePath));
if (dynamicImports) {
c.push(` [${JSON.stringify(m.pathname)}, ()=>import(${importPath})],`);

Check warning

Code scanning / CodeQL

Improper code sanitization

[Improperly sanitized value](1) flows to here and is used to construct code.
@adamdbradley adamdbradley merged commit 182ba65 into main Jul 18, 2022
@adamdbradley adamdbradley deleted the vite-routes branch July 18, 2022 21:26
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.

3 participants