mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-07 02:10:27 +00:00
Update redbean redirect message for clarity
This commit is contained in:
parent
8afc830355
commit
75cc0fbaa1
1 changed files with 1 additions and 1 deletions
|
@ -2915,7 +2915,7 @@ static char *HandleRedirect(struct Redirect *r) {
|
||||||
struct Asset *a;
|
struct Asset *a;
|
||||||
if (!r->code && (a = GetAsset(r->location.s, r->location.n))) {
|
if (!r->code && (a = GetAsset(r->location.s, r->location.n))) {
|
||||||
LockInc(&shared->c.rewrites);
|
LockInc(&shared->c.rewrites);
|
||||||
DEBUGF("(rsp) rewriting to %`'s", r->location.s);
|
DEBUGF("(rsp) internal redirect to %`'s", r->location.s);
|
||||||
if (!HasString(&loops, r->location.s, r->location.n)) {
|
if (!HasString(&loops, r->location.s, r->location.n)) {
|
||||||
AddString(&loops, r->location.s, r->location.n);
|
AddString(&loops, r->location.s, r->location.n);
|
||||||
return RoutePath(r->location.s, r->location.n);
|
return RoutePath(r->location.s, r->location.n);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue