Description of problem: The comment field for errata cannot handle apostrophes. Version-Release number of selected component (if applicable): How reproducible: Every time. Steps to Reproduce: 1. Select and errata, for example https://porkchop.devel.redhat.com/fedora-updates/show.py?pkg=systemtap-0.3-1&update=Testing 2. In the comments field put in a appostrophe ("'" no quotes around it) 3. Press the "Add Comment" button Actual results: Mod_python error: "PythonHandler mod_python.publisher" Traceback (most recent call last): File "/usr/src/build/513032-i386/install/usr/lib/python2.2/site-packages/mod_python/apache.py", line 332, in HandlerDispatch File "/usr/src/build/513032-i386/install/usr/lib/python2.2/site-packages/mod_python/publisher.py", line 199, in handler File "/mnt/redhat/fedora-updates/comment.py", line 27, in index db.query(""" File "/mnt/redhat/fedora-updates/db.py", line 80, in query result = db.query(q) _pg.error: ERROR: parser: parse error at or near "wcohen" at character 157 Expected results: The comment would be added without error Additional info:
Fixed.