Skip to content

jennyEckstein/undici.fetch-url-hash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

undici.fetch-url-hash

This repository is used to demonstrate an issue in undici.fetch.

At the moment undici.fetch does not handle requests where url constains fragment:

URI = scheme ":" ["//" authority] path ["?" query] ["#" fragment]

Reproduce

  • npm ci
  • node index.js
  • Result before the fix: Error Screenshot

Fix

  • Append url.hash here
  • Result after the fix: Fixed Screenshot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors