Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

Commit 30354bc

Browse files
committed
valueがダブルクォートされているのでTrim
1 parent 57af668 commit 30354bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webapp/go/user_handler.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ func getIconHandler(c echo.Context) error {
9696
username := c.Param("username")
9797

9898
ifNoneMatchValue := c.Request().Header.Get("If-None-Match")
99+
ifNoneMatchValue = strings.Trim(ifNoneMatchValue, "\"")
99100
log.Println("If-None-Match: ", ifNoneMatchValue)
100101

101102
tx, err := dbConn.BeginTxx(ctx, nil)

0 commit comments

Comments
 (0)