Closed benel closed 9 years ago
:( ups, can you describe the behaviour, or give an config example.
Here is a sample configuration that worked before:
{
"port": 1337,
"sites": [{
"hostProxy": "traduxio.local",
"port": 5984,
"path": "/traduxio/_design/traduxio/_rewrite",
"hideLocationParts": 1,
"authentication": [
{"login": "roadrunner", "password": "bipbip"}
],
"rules": [{
"control": "/works/.test(path)",
"action": "authenticate(context, function(){proxyWork(context);});"
}]
}]
}
And here is the corresponding Frisby test:
var test = require('frisby');
test.create('Dummy authentication')
.get('http://traduxio.local:1337/')
.auth('roadrunner', 'bipbip')
.expectStatus(200)
.toss()
I will put it on Travis.CI whenever I can.
Crap. I'm the one to blame (f93084c8b518652990c4e718a240383ed09ff52c).
OK, now I get why I couldn't reproduce, I didn't merge this last modification.
@franck-eyraud This feature also known as "dummy password" seems to have been broken by one of the latest commits.