Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vdb 5758 #174

Open
wants to merge 2 commits into
base: engineering
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion libs/kns/http-file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1432,7 +1432,8 @@ static rc_t KNSManagerVMakeHttpFileIntUnstableImpl( const KNSManager *self,
rc = RC ( rcNS, rcFile, rcOpening, rcFile, rcNotFound );
break;
default:
rc = RC ( rcNS, rcFile, rcValidating, rcNoObj, rcEmpty );
rc = RC ( rcNS, rcFile, rcOpening, rcFile,
rcUnexpected );
}

if ( rc == 0 )
Expand Down
11 changes: 11 additions & 0 deletions libs/vfs/resolver.c
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,15 @@ rc_t VPathCheckFromNamesCGI ( const VPath * path,
rcMessage, rcCorrupt);
}
else {
CONST_STRING(&req, "?debu");
if (StringEqual(&name, &req)) {
String e;
CONST_STRING(&e, "g=not-found");
if (!StringEqual(&val, &e))
return RC(rcVFS, rcResolver, rcResolving,
rcMessage, rcCorrupt);
}
else {
CONST_STRING(&req, "?pId=");
if (!StringEqual(&name, &req))
return RC(rcVFS, rcResolver, rcResolving,
Expand All @@ -1167,6 +1176,8 @@ rc_t VPathCheckFromNamesCGI ( const VPath * path,
return RC(rcVFS, rcResolver, rcResolving,
rcMessage, rcCorrupt);
}

}
}
}
}
Expand Down