Comments (3)
Hi there,
Can you please let me know the version of NtHiM that you are using? I couldn't reproduce the issue on the latest release version (v0.1.3), with a gigabytes large file as well as URLs with characters like %, ^, etc. and unicode characters.
Thanks,
@TheBinitGhimire
from nthim.
Hello @sumgr0,
I have successfully reproduced the issue as of now, for two different cases:
- Invalid characters in hostnames (as your error mentions):
InvalidUriChar
- Very long hostnames (found during my testing):
TooLong
This seems to be coming through the http crate, and src/uri/mod.rs
file in this crate appears to have several other error types defined:
- InvalidScheme
- InvalidAuthority
- InvalidPort
- InvalidFormat
- SchemeMissing
- AuthorityMissing
- PathAndQueryMissing
- Empty
- SchemeTooLong
I have worked on a fix, and also pushed it to the development branch for now. The fix will be live in the next release of NtHiM.
Thanks for opening up this interesting issue!
Thanks,
@TheBinitGhimire
from nthim.
Hello @sumgr0,
The new release of NtHiM, i.e. v0.1.4, is published now, which includes the following fixes:
- Initial URL parsing crashes, and,
- Post URL parsing crashes!
If you are able to reproduce this issue in the new version of NtHiM, please re-open this issue and let me know!
Thanks,
@TheBinitGhimire
from nthim.
Related Issues (12)
- [FAQ] What to do if I get "failed to run custom build command for `openssl-sys v ...`" error? HOT 4
- thread 'main' panicked at 'Unable to open cache file!: Os { code: 24, kind: Other, message: "Too many open files" }', src/platforms.rs:37:53 HOT 14
- Support for multiple signatures/fingerprint for the same platform via JSON provided from https://git.io/signatures_json HOT 1
- Allow user input fingerprint.json file HOT 1
- [Bug] failed to compile `NtHiM v0.1.3` HOT 4
- Increase platform detection HOT 2
- Compile from source fix. HOT 2
- [Feature Request] HOT 1
- [Feature enhancement] Enumerate recursively of domain HOT 3
- Add Platform/OS support HOT 2
- NOT WORKING! HOT 2
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 nthim.