pannengeraet-krank-knarrenbauer
pannengeraet-krank-knarrenbauer copied to clipboard
Mutilates JavaDoc
The recent extension to multiple persons introduced a nasty bug in https://github.com/voodoocode/pannengeraet-krank-knarrenbauer/blob/077493d260713d9412f23e7de05d4d144062ee95/content.js#L220
When regexAbbrev
is null
, it isn't ignored, but cast to string, so any occurrence of null
in a document is replaced by the first person where this is the case. While I found reading
Returns the login of the user making this request, if the user has been authenticated, or
Olaf Scholz
if the user has not been authenticated.
quite entertaining, I feel this wasn't intended behaviour.
Hilarious and great find. Will look into it, probably simply needs a check if a theres really a regex in there.
It seems this bug is back in 0.4.2... (Best example: This bug report here :D)