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

Calibre-web on Amazon ec2 <script> not working #3291

Open
srini8080 opened this issue Jan 19, 2025 · 0 comments
Open

Calibre-web on Amazon ec2 <script> not working #3291

srini8080 opened this issue Jan 19, 2025 · 0 comments

Comments

@srini8080
Copy link

Describe the bug/problem

I have a epub that has a .js file in it that puts a popup. I have calibre web running in ec2 on Amazon. I opened the epub in the viewer. The JS is not working.

To Reproduce

any <script> running in any html file

<script>alert('Test');</script>

Expected behavior

The epub is working locally when I run calirbe web in local LAN. Then the js file is putting the popup.

Screenshots

Environment (please complete the following information):

Centos 8, AWS, Calibre-web 0.6.12, browser is firefox 115.10.0esr

Not sure it is CORS issue and if yes, then do I need to fix epub.js or the epub

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

No branches or pull requests

1 participant