[misc] Update format

(cherry picked from commit ee91f5d3d4e24da14108606c42a8e5d266965678)
XWIKI-10182: Protect against URL used as extension author which lead to large stack trace in XWiki logs

(cherry picked from commit f0c2be53b035dd763dfbf21ce472851eda58f5c3)