Issue Details (XML | Word | Printable)

Key: MODPYTHON-87
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Jim Gallacher
Reporter: Anton Kuzmin
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
mod_python

psp_parser: replaces "\n" on \n

Created: 09/Nov/05 07:29 AM   Updated: 05/Mar/06 02:39 PM
Return to search
Component/s: None
Affects Version/s: 3.2.7
Fix Version/s: 3.2.7

Time Tracking:
Not Specified

Environment: Debian unstable, mod_python/3.2.0b Python/2.3.5

Resolution Date: 15/Nov/05 05:30 AM


 Description  « Hide
$ cat mptest.psp
<html>
<body>

You see (&#92;n) in the test result. If you see () then the test fails.<br />

BEGIN TEST<br />
(\n)
<br />END TEST

</body>
</html>

The result on the screen is:
You see (\n) in the test result. If you see () then the test fails.
BEGIN TEST
( )
END TEST

$ cat .htaccess
AddHandler mod_python .psp
PythonHandler mod_python.psp
PythonDebug On

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #332353 Thu Nov 10 19:00:55 UTC 2005 jgallacher Unit tests to confirm correct psp parser output.
Ref MODPYTHON-87
Files Changed
MODIFY /httpd/mod_python/trunk/test/test.py
ADD /httpd/mod_python/trunk/test/htdocs/psp_parser.psp

Repository Revision Date User Message
ASF #332365 Thu Nov 10 20:19:36 UTC 2005 jgallacher Fixed psp_parser problem.
Rolled psp_parser.l back to -r 102649.
Added handling for \t, \n and \t character strings.
Ref MODPYTHON-87.
Files Changed
MODIFY /httpd/mod_python/trunk/src/psp_parser.c
MODIFY /httpd/mod_python/trunk/src/psp_parser.l
MODIFY /httpd/mod_python/trunk/lib/python/mod_python/__init__.py
MODIFY /httpd/mod_python/trunk/src/include/mpversion.h

Nicolas Lehuen made changes - 13/Nov/05 02:18 AM
Field Original Value New Value
Fix Version/s 3.2 [ 11060 ]
Summary psp_parser: replaces "\n" on \n
LF character
psp_parser: replaces "\n" on \n
Repository Revision Date User Message
ASF #344238 Mon Nov 14 21:25:43 UTC 2005 jgallacher Updated 'Bug Fixes' section of appendixc.tex to include psp_parser fix.
Ref MODPYTHON-87
Files Changed
MODIFY /httpd/mod_python/trunk/Doc/appendixc.tex

Jim Gallacher made changes - 15/Nov/05 05:30 AM
Status Open [ 1 ] Resolved [ 5 ]
Assignee Jim Gallacher [ jgallacher ]
Resolution Fixed [ 1 ]
Graham Dumpleton made changes - 05/Mar/06 02:39 PM
Status Resolved [ 5 ] Closed [ 6 ]