Skip to content

Commit

Permalink
missed one clone
Browse files Browse the repository at this point in the history
  • Loading branch information
mikea committed Aug 16, 2023
1 parent 42d7a4e commit f689c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/workerd/api/http.c++
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ jsg::Ref<Request> Request::constructor(
}

KJ_IF_MAYBE(newCf, initDict.cf) {
cf = CfProperty(kj::mv(*newCf));
cf = CfProperty(newCf->deepClone(js));
}

KJ_IF_MAYBE(b, kj::mv(initDict.body).orDefault(nullptr)) {
Expand Down

0 comments on commit f689c8e

Please sign in to comment.