unjs / ipx

🖼️ High performance, secure and easy-to-use image optimizer.
MIT License
1.53k stars 61 forks source link

fix(middleware): sanitize double backslashes and quotes #115

Closed aaharu closed 1 year ago

aaharu commented 1 year ago

resolve #96

codecov[bot] commented 1 year ago

Codecov Report

Merging #115 (afface8) into main (1499333) will decrease coverage by 1.51%. The diff coverage is 0.00%.

:exclamation: Current head afface8 differs from pull request most recent head 719dec5. Consider uploading reports for the commit 719dec5 to get more accurate results

@@            Coverage Diff             @@
##             main     #115      +/-   ##
==========================================
- Coverage   60.76%   59.25%   -1.51%     
==========================================
  Files          10       10              
  Lines         864      778      -86     
  Branches       38       43       +5     
==========================================
- Hits          525      461      -64     
+ Misses        339      317      -22     
Impacted Files Coverage Δ
src/middleware.ts 24.32% <0.00%> (+5.16%) :arrow_up:

... and 7 files with indirect coverage changes