Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/pragmatic api html to pdf #447

Closed
wants to merge 5 commits into from

Conversation

hxtree
Copy link
Owner

@hxtree hxtree commented Oct 23, 2023

No description provided.

@hxtree hxtree closed this Oct 23, 2023
async urlToPdf(url: string) {
const browser = await this.getBrowser();
const page = await browser.newPage();
await page.goto(url, { waitUntil: ['networkidle2', 'domcontentloaded'] });

Check failure

Code scanning / CodeQL

Server-side request forgery Critical

The
URL
of this request depends on a
user-provided value
.
The
URL
of this request depends on a
user-provided value
.
async urlToData(url: string) {
const browser = await this.getBrowser();
const page = await browser.newPage();
await page.goto(url, { waitUntil: ['networkidle2', 'domcontentloaded'] });

Check failure

Code scanning / CodeQL

Server-side request forgery Critical

The
URL
of this request depends on a
user-provided value
.
@hxtree hxtree deleted the feature/pragmatic-api-html-to-pdf branch November 5, 2023 01:58
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.

1 participant