Comments (5)
Can you give me an example where this causes trouble?
The first change shouldn't have any effect because of how iconv.encodingExists
handles undefined:
iconv.encodingExists(undefined);
//> false
and the else if
block is mainly used for when we need to scan through the HTML looking for a <meta charset=...
tag. That's usually because charset == undefined
, so in that case, adding charset &&
to the if
would break it.
But, that said, this stuff is tricky and I wouldn't be surprised if there is a bug in there somewhere. If you can give me a unit test or URL where things fail, that would be very helpful.
from node-unblocker.
Trouble on page - https://2ip.ru/ when try to load data from this URL (method POST) -
https://2ip.ru/?area=ajaxIspRatingListViewer
from node-unblocker.
Ok, I figured it out and added a test for it - the code that was supposed to find the <meta charset...
tag had a bug where if it never saw a <meta...
or </head>
tag, it would buffer indefinitely instead of just passing the data along.
But now another test is failing on the CI (but passing on my laptop), so I've got some more debugging to do...
from node-unblocker.
Fixed (the test infrastructure I was using got more strict in a minor release, and the old version on my laptop passed, but the current version that travis ci installed didn't...)
Version 1.0.8 released, please try it out and let me know if it works for you.
from node-unblocker.
Now all ok)
Thanks!
from node-unblocker.
Related Issues (20)
- Proxy redirects to ogiginal site which is blocked HOT 6
- roblox HOT 1
- new node unlocked links HOT 5
- [Bug] Does Not work. HOT 10
- Weird Redirect when deploying with openode.io HOT 2
- Error HOT 1
- Discord isn't working. HOT 5
- Discord link HOT 2
- Next.js support HOT 3
- maleik2
- JustAguy HOT 1
- In Search Of A Proxy HOT 2
- Setting a static URL without typing it after the prefix HOT 7
- Google safe-browsing flags unblocker as phishing
- Proxy not working with Nike.com and Cloudflare HOT 2
- My administrator's website still blocks it even when I use unblockernode
- Z_DATA_ERROR HOT 7
- use node-unblocker in client sveltekit without node js HOT 1
- how to use node-unblocker with https-proxy-agent HOT 1
- sometime error and stuck when use in docker HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-unblocker.