Skip to content

fix cloudflare on novelupdates#887

Merged
rajarsheechatterjee merged 2 commits intolnreader:mainfrom
nguyd1:bugfix/novelupdates-cloudflare
Jan 13, 2024
Merged

fix cloudflare on novelupdates#887
rajarsheechatterjee merged 2 commits intolnreader:mainfrom
nguyd1:bugfix/novelupdates-cloudflare

Conversation

@nguyd1
Copy link
Contributor

@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
@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