view .hgignore @ 8307:e965ff6f8cb3

setup: avoid bleach 3.1.4 for now - it seems to deliberately cause regressions See https://github.com/mozilla/bleach/blob/master/CHANGES and https://github.com/mozilla/bleach/commit/d6018f2539d271963c3e7f54f36ef11900363c69 ... which adds xfails for use cases similar to how we use bleach. It would completely remove style attributes instead of dropping bad parts of them, as shown by the markup_renderer.py doctest it made fail: >>> MarkupRenderer.render('''<img id="a" style="margin-top:-1000px;color:red" src="http://example.com/test.jpg">''', '.md') Expected: '<p><img id="a" src="http://example.com/test.jpg" style="color: red;"></p>' Got: '<p><img id="a" src="http://example.com/test.jpg" style=""></p>' Until a better solution is found, stick to 3.1.3 and accept the potential ReDoS.
author Mads Kiilerich <mads@kiilerich.com>
date Thu, 26 Mar 2020 18:12:52 +0100
parents 17b86a2976ca
children 43d9615facc6
line wrap: on
line source

syntax: glob
*.pyc
*.swp
*.sqlite
*.tox
*.egg-info
*.egg
*.mo
*.orig
*.rej
*.bak
.eggs/
tarballcache/

syntax: regexp
^rcextensions
^build
^dist/
^docs/build/
^docs/_build/
^data$
^sql_dumps/
^\.settings$
^\.project$
^\.pydevproject$
^\.coverage$
^kallithea/front-end/node_modules$
^kallithea/front-end/package-lock\.json$
^kallithea/front-end/theme\.less$
^kallithea/front-end/tmp$
^kallithea/public/codemirror$
^kallithea/public/css/select2-spinner\.gif$
^kallithea/public/css/select2\.png$
^kallithea/public/css/select2x2\.png$
^kallithea/public/css/style\.css$
^kallithea/public/css/style\.css\.map$
^kallithea/public/js/bootstrap\.js$
^kallithea/public/js/dataTables\.bootstrap\.js$
^kallithea/public/js/jquery\.atwho\.min\.js$
^kallithea/public/js/jquery\.caret\.min\.js$
^kallithea/public/js/jquery\.dataTables\.js$
^kallithea/public/js/jquery\.flot\.js$
^kallithea/public/js/jquery\.flot\.selection\.js$
^kallithea/public/js/jquery\.flot\.time\.js$
^kallithea/public/js/jquery\.min\.js$
^kallithea/public/js/select2\.js$
^kallithea\.db$
^test\.db$
^Kallithea\.egg-info$
^my\.ini$
^fabfile.py
^\.idea$
^\.cache$
^\.pytest_cache$
/__pycache__$