Edgewall Software

Changes between Initial Version and Version 1 of Ticket #151


Ignore:
Timestamp:
Sep 26, 2007, 8:22:53 PM (16 years ago)
Author:
cmlenz
Comment:

(fixed formatting of description)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #151 – Description

    initial v1  
    1 Right now "for foo.bar, blub['blah'] in something" is undefined in genshi (it does nothing, especially no error) and "for foo['a in b'] in bar" breaks with a syntax error although it's valid python.
     1Right now `for foo.bar, blub['blah'] in something` is undefined in genshi (it does nothing, especially no error) and `for foo['a in b'] in bar` breaks with a syntax error although it's valid python.
    22
    3 Because of my work on the sandboxed branch it's important that iterations do not modify existing objects because they could be persistent, thus shared among renderings. A quickfix would be changing the " in " split to a regex like this: "r([A-Za-z_][A-Za-z0-9_]*(\s*,\s*[A-Za-z_][A-Za-z0-9_]*)*)\s+in"
     3Because of my work on the sandboxed branch it's important that iterations do not modify existing objects because they could be persistent, thus shared among renderings. A quickfix would be changing the ` in ` split to a regex like this:
     4
     5{{{
     6r([A-Za-z_][A-Za-z0-9_]*(\s*,\s*[A-Za-z_][A-Za-z0-9_]*)*)\s+in
     7}}}
    48
    59That would then automatically close the security problem of the sandbox branch too.