Rotativa.AspNetCore icon indicating copy to clipboard operation
Rotativa.AspNetCore copied to clipboard

path of wkhtmltopdf.exe

Open mydevdesk opened this issue 5 years ago • 4 comments

hi

I have a problem with webroot directory that you are using for wkhtmltopdf.exe

I dont want to expose wkhtmltopdf.exe to execute from out side of my application :)

and i think this implantation has vulnerability

mydevdesk avatar Sep 09 '19 08:09 mydevdesk

HiI also needed for example to put in the directory "\ Rotative \ win" is very simple in startup.cs configure

Rotary.AspNetCore.RotativeConfiguration.Setup (env, ".. \ Rotary \ Windows \");

But in Core 3.1 it doesn't work because the IWebHostEnvironment has changed :(

WirwinRo avatar Feb 13 '20 10:02 WirwinRo

I have the same problem. Did you guys @mydevdesk @WirwinRo get around it?

rgustavsson avatar May 26 '20 11:05 rgustavsson

Hi, I'm using .net core 3.1, app is hosting on azure app using Linux os. Rotativa is working on my local machine but after publish to azure it doe's not work. do you know how to make it work on azure app? If app is using Linux OS May i use wkhtmltopdf or I will use linux version of wkhtmltopdf?

nyghtrocker avatar Jun 06 '20 15:06 nyghtrocker