Skip to content

Commit

Permalink
Escape loguru tags in request body (#6319)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyashton authored Jul 1, 2024
1 parent dbeeb3c commit d31d027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/infra/clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def __str__(self):
if self.headers:
string += f" <blue>{truncate(str(self.headers), max_len=25)}</>"
if self.body is not None:
string += f' {truncate(f"{self.body}")}'
string += escape_loguru_tags(f' {truncate(f"{self.body}")}')

return string

Expand Down

0 comments on commit d31d027

Please sign in to comment.