Coder Social home page Coder Social logo

Comments (3)

TheBinitGhimire avatar TheBinitGhimire commented on September 26, 2024

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.

TheBinitGhimire avatar TheBinitGhimire commented on September 26, 2024

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.

TheBinitGhimire avatar TheBinitGhimire commented on September 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.