)]}'
{"doc/source/crossdomain.xml":[{"author":{"_account_id":2622,"name":"Samuel Merritt","email":"spam+launchpad@andcheese.org","username":"torgomatic"},"change_message_id":"ad8c978f29891e89723c9e7b1123ca7b710814b8","unresolved":false,"context_lines":[{"line_number":27,"context_line":"To enable this middleware, add it to the pipeline in your proxy-server.conf"},{"line_number":28,"context_line":"file. It should be added before any authentication (e.g., tempauth or"},{"line_number":29,"context_line":"keystone) middleware. In this example ellipsis (...) indicate other"},{"line_number":30,"context_line":"middlware you may have chosen to use::"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    [pipeline:main]"},{"line_number":33,"context_line":"    pipeline \u003d  ... crossdomain ... authtoken ... proxy-server"}],"source_content_type":"application/xml","patch_set":4,"id":"AAAAOX%2F%2F8Xg%3D","line":30,"updated":"2013-04-05 00:08:50.000000000","message":"*middleware","commit_id":"0e5cef2fb1a5f17376f79dc4c22a10a8d94be7a0"}],"swift/common/middleware/crossdomain.py":[{"author":{"_account_id":2649,"name":"Zhang Hua","email":"zhuadl@cn.ibm.com","username":"zhang-hare"},"change_message_id":"57591bdf9409a3c028b86af754ead5d765fa5602","unresolved":false,"context_lines":[{"line_number":25,"context_line":"    If the path is /crossdomain.xml it will respond with an xml cross domain"},{"line_number":26,"context_line":"    policy document. This allows web pages hosted elsewhere to use client"},{"line_number":27,"context_line":"    side technologies such as Flash, Java and Silverlight to interact"},{"line_number":28,"context_line":"    with the Swift API."},{"line_number":29,"context_line":"    \"\"\""},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    def __init__(self, app, *args, **kwargs):"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAOH%2F%2F0g8%3D","line":28,"updated":"2013-03-26 09:55:14.000000000","message":"I suggest you to add full description of how to enable this middleware in proxy-server.conf.","commit_id":"e9cef046d8359e8e209be28406fe7b4281729761"},{"author":{"_account_id":2622,"name":"Samuel Merritt","email":"spam+launchpad@andcheese.org","username":"torgomatic"},"change_message_id":"ad8c978f29891e89723c9e7b1123ca7b710814b8","unresolved":false,"context_lines":[{"line_number":30,"context_line":"    To enable this middleware, add it to the pipeline in your proxy-server.conf"},{"line_number":31,"context_line":"    file. It should be added before any authentication (e.g., tempauth or"},{"line_number":32,"context_line":"    keystone) middleware. In this example ellipsis (...) indicate other"},{"line_number":33,"context_line":"    middlware you may have chosen to use::"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"        [pipeline:main]"},{"line_number":36,"context_line":"        pipeline \u003d  ... crossdomain ... authtoken ... proxy-server"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAOX%2F%2F8Xc%3D","line":33,"updated":"2013-04-05 00:08:50.000000000","message":"*middleware","commit_id":"0e5cef2fb1a5f17376f79dc4c22a10a8d94be7a0"},{"author":{"_account_id":866,"name":"Chmouel Boudjnah","email":"chmouel@chmouel.com","username":"chmouel"},"change_message_id":"62c44c3c13606d0b5cf9b87e72363ab715963cc4","unresolved":false,"context_lines":[{"line_number":51,"context_line":"            \u0027\u003c!DOCTYPE cross-domain-policy SYSTEM \u0027 \\"},{"line_number":52,"context_line":"            \u0027\"http://www.adobe.com/xml/dtds/cross-domain-policy.dtd\" \u003e\\n\u0027 \\"},{"line_number":53,"context_line":"            \u0027\u003ccross-domain-policy\u003e\\n\u0027 \\"},{"line_number":54,"context_line":"            \u0027  \u003callow-access-from domain\u003d\"*\" secure\u003d\"false\" /\u003e\\n\u0027 \\"},{"line_number":55,"context_line":"            \u0027\u003c/cross-domain-policy\u003e\u0027"},{"line_number":56,"context_line":"        return Response(request\u003dreq, body\u003dxDomainPolicy,"},{"line_number":57,"context_line":"                        content_type\u003d\"application/xml\")"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAOn%2F%2Fyzk%3D","line":54,"updated":"2013-04-23 06:11:52.000000000","message":"This may be a useful configuration setting to have to alllow secure or not as mentionned in the documentation :\n\nsecure\n: [HTTPS and Sockets only, optional] Specifies whether access is granted only to HTTPS\ndocuments from the specified origin (\ntrue\n) or to all documents from the specified origin (\nfalse\n).\nIf\nsecure\nis not specified in an HTTPS policy file, it defaults to\ntrue\n. Using\nfalse\nin an HTTPS\npolicy file is not recommended because this compromises the security offered by HTTPS; for\nexample, allowing man-in-the-middle attacks to gain access to the HTTPS data protected by the\npolicy file.","commit_id":"f409267b2c15aea6781efc888182e5e5de3a1188"},{"author":{"_account_id":2622,"name":"Samuel Merritt","email":"spam+launchpad@andcheese.org","username":"torgomatic"},"change_message_id":"7c61ef289efef22809c976430f3eff0a9cc6bc1d","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    text. Ensure you put a completely blank line to terminate the"},{"line_number":47,"context_line":"    cross_domain_policy value."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"    The cross_domain_policy name/value is optional. If omited, the policy"},{"line_number":50,"context_line":"    defaults as if you had specified::"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"        cross_domain_policy \u003d \u003callow-access-from domain\u003d\"*\" secure\u003d\"false\" /\u003e"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAOn%2F%2FxwM%3D","line":49,"updated":"2013-04-27 05:08:26.000000000","message":"*omitted","commit_id":"eb4b29d243150d2f348d163ecc2fb552675891bf"}],"test/unit/common/middleware/test_crossdomain.py":[{"author":{"_account_id":2622,"name":"Samuel Merritt","email":"spam+launchpad@andcheese.org","username":"torgomatic"},"change_message_id":"ad8c978f29891e89723c9e7b1123ca7b710814b8","unresolved":false,"context_lines":[{"line_number":62,"context_line":"                                environ\u003d{\u0027REQUEST_METHOD\u0027: method})"},{"line_number":63,"context_line":"        resp \u003d self.app(req.environ, start_response)"},{"line_number":64,"context_line":"        self.assertEquals(resp, \u0027FAKE APP\u0027)"},{"line_number":65,"context_line":"        "},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"if __name__ \u003d\u003d \u0027__main__\u0027:"},{"line_number":68,"context_line":"    unittest.main()"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAOX%2F%2F8XY%3D","line":65,"updated":"2013-04-05 00:08:50.000000000","message":"trailing whitespace on this line","commit_id":"0e5cef2fb1a5f17376f79dc4c22a10a8d94be7a0"}]}
