We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b28db2c commit 94669f9Copy full SHA for 94669f9
test/res.location.js
@@ -116,18 +116,6 @@ describe('res', function(){
116
.expect(200, done)
117
})
118
119
- it('should encode data uri', function (done) {
120
- var app = express()
121
- app.use(function (req, res) {
122
- res.location('data:text/javascript,export default () => { }').end();
123
- });
124
-
125
- request(app)
126
- .get('/')
127
- .expect('Location', 'data:text/javascript,export%20default%20()%20=%3E%20%7B%20%7D')
128
- .expect(200, done)
129
- })
130
131
it('should consistently handle non-string input: boolean', function (done) {
132
var app = express()
133
app.use(function (req, res) {
0 commit comments