File: drop-unstable-test.patch

package info (click to toggle)
node-finalhandler 1.2.0%2B~1.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 204 kB
  • sloc: javascript: 769; makefile: 4
file content (21 lines) | stat: -rw-r--r-- 701 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: due to nodejs change, the code returned may be 400
Author: Yadd <yadd@debian.org>
Bug-Debian: https://bugs.debian.org/1106429
Forwarded: not-needed
Last-Update: 2025-05-25

--- a/test/test.js
+++ b/test/test.js
@@ -226,12 +226,6 @@
         .expect(404, /<pre>Cannot GET \/%3Cla&#39;me%3E<\/pre>/, done)
     })
 
-    it('should encode bad pathname characters', function (done) {
-      rawrequest(createServer())
-        .get('/foo%20ยง')
-        .expect(404, /<pre>Cannot GET \/foo%20%C2%A7<\/pre>/, done)
-    })
-
     it('should fallback to generic pathname without URL', function (done) {
       var server = createServer(function (req, res, next) {
         req.url = undefined