Skip to content

Commit

Permalink
Assume 'Target' is URI-encoded; this will allow you to target headers…
Browse files Browse the repository at this point in the history
… that are not in latin-1.
  • Loading branch information
coddingtonbear committed Nov 4, 2024
1 parent 082e512 commit 6ef401e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/requestHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ export default class RequestHandler {
): Promise<void> {
const operation = req.get("Operation");
const targetType = req.get("Target-Type");
const rawTarget = req.get("Target");
const rawTarget = decodeURIComponent(req.get("Target"));
const contentType = req.get("Content-Type");
const createTargetIfMissing = req.get("Create-Target-If-Missing") == "true";
const applyIfContentPreexists =
Expand Down

0 comments on commit 6ef401e

Please sign in to comment.