Security issue (Cross-Origin)



  • Hi all,

    I'm using pdf.js in my WebEngine and it isn't able to load local files since I moved it to the resources due to the cross-origin issue.

    I figured out, that the application needs the argument "--disable-web-security" to be able to load local files in this scenario.

    My question: Is there any other way to turn off the web security programmatically via WebEngine or any other work-a-round?

    Best regards,
    Mike

    It's a bug.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.