Skip to content

Commit

Permalink
fix: issue while writing rss feed that contain '%'
Browse files Browse the repository at this point in the history
  • Loading branch information
rruizt committed Apr 21, 2024
1 parent dd43707 commit f63bc27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ func rss(w http.ResponseWriter, req *http.Request) {
}

w.Header().Set("Content-Type", "application/rss+xml")
fmt.Fprintf(w, feedString)
fmt.Fprint(w, feedString)
}

0 comments on commit f63bc27

Please sign in to comment.