swh:1:snp:634d2b8906a7a2f6511ccb358da84e19b290d2c9
Revision 76b5a42428f7d1453af84cbf09ec00c3c1a2f4fc authored by Valentin Lorentz on 25 October 2020, 23:06:56 UTC, committed by Valentin Lorentz on 25 October 2020, 23:19:57 UTC
Even if they are not trusted. This fixes a regression in 97016b9c55e144ce234fdf67880b57dffc12aac3. This happens because 'user._checkCapability' raises a KeyError when the user has neither this cap or the anticap; which was mistakenly caught here by the 'except KeyError' expecting to catch non-existing users. (And that why 'try' blocks should be limited to as few lines as possible.)
1 parent 160bcc8
Tip revision: 35bf5998564eda288ca4ee86e0fa45b28c64d7ba authored by Valentin Lorentz on 20 September 2022, 05:51:46 UTC
utils/web: Add <br/> to the list of block elements
utils/web: Add <br/> to the list of block elements
Tip revision: 35bf599
File | Mode | Size |
---|---|---|
locales | ||
man | ||
plugins | ||
sandbox | ||
scripts | ||
src | ||
test | ||
.gitattributes | -rw-r--r-- | 42 bytes |
.gitignore | -rw-r--r-- | 403 bytes |
.mailmap | -rw-r--r-- | 1.8 KB |
.travis.yml | -rw-r--r-- | 1.3 KB |
CONTRIBUTING.md | -rw-r--r-- | 1.3 KB |
ChangeLog | -rw-r--r-- | 69.0 KB |
LICENSE.md | -rw-r--r-- | 1.6 KB |
MANIFEST.in | -rw-r--r-- | 117 bytes |
Makefile | -rw-r--r-- | 983 bytes |
README.md | -rw-r--r-- | 2.1 KB |
RELNOTES | -rw-r--r-- | 16.1 KB |
pyproject.toml | -rw-r--r-- | 86 bytes |
requirements.txt | -rw-r--r-- | 101 bytes |
setup.py | -rw-r--r-- | 8.8 KB |
supybot | l--------- | 3 bytes |
Computing file changes ...