Codebase list mapproxy / c72ad07
New upstream version 1.11.1 Bas Couwenberg 4 years ago
4 changed file(s) with 27 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
0 1.11.0 2017-11-xx
0 1.11.1 2019-08-06
1 ~~~~~~~~~~~~~~~~~
2
3 Fixes:
4
5 - Fix Cross Site Scripting (XSS) issue in demo service. Fix for #322 did not
6 properly escaped input used in JavaScript examples.
7
8 A targeted attack could be used for information disclosure. For
9 example: Session cookies of a third party application running on
10 the same domain.
11
12 1.11.0 2017-11-20
113 ~~~~~~~~~~~~~~~~~
214
315 Improvements:
5050 # The short X.Y version.
5151 version = '1.11'
5252 # The full version, including alpha/beta/rc tags.
53 release = '1.11.0'
53 release = '1.11.1'
5454
5555 # The language for content autogenerated by Sphinx. Refer to documentation
5656 # for a list of supported languages.
2121 import pkg_resources
2222 import mimetypes
2323 from collections import defaultdict
24 from xml.sax.saxutils import escape
2524
2625 from mapproxy.config.config import base_config
2726 from mapproxy.compat import PY2
257256 return True
258257 return False
259258 return True
259
260
261 def escape(data):
262 """
263 Escape user-provided input data for safe inclusion in HTML _and_ JS to prevent XSS.
264 """
265 data = data.replace('&', '&')
266 data = data.replace('>', '>')
267 data = data.replace('<', '&lt;')
268 data = data.replace("'", '')
269 data = data.replace('"', '')
270 return data
5353
5454 setup(
5555 name='MapProxy',
56 version="1.11.0",
56 version="1.11.1",
5757 description='An accelerating proxy for tile and web map services',
5858 long_description=long_description(7),
5959 author='Oliver Tonnhofer',