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

fix cloudflare on novelupdates #887

Merged

Conversation

nguyd1
Copy link

@nguyd1 nguyd1 commented Jan 9, 2024

cloudflare requires the same cf_clearance cookie + ip address + user-agent as the webview
novelupdates.js was using the wrong user-agent which caused errors when novelupdates had cloudflare turned on and when the app navigated to a website using cloudflare (ex. foxaholic)

image

fixes LNReader/lnreader-plugins#669 and #818

@rajarsheechatterjee rajarsheechatterjee merged commit e600828 into LNReader:main Jan 13, 2024
1 check passed
@nguyd1 nguyd1 deleted the bugfix/novelupdates-cloudflare branch January 13, 2024 15:43
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Blocked by cloudflare even after webview verification
2 participants