[TYPO3-core] RFC: #17500: Improve error handling in ExtDirect router

Helmut Hummel helmut.hummel at typo3.org
Mon Feb 7 01:37:36 CET 2011


Hi,

On 06.02.11 23:30, Steffen Kamper wrote:

> So, last remaining is catching the exception. If json is expected, and 
> string is given with eg php syntax error, we need to display the error 
> instead of "Error parsing json response: null"

Attached a version, that adds the exception code that will be parsed
after #17502 is applied.

I also changed the security token message, to be shown as flash message
by using the same exception code.

Kind regards,
Helmut

-- 
Helmut Hummel
TYPO3 Security Team Leader

TYPO3 .... inspiring people to share!
Get involved: typo3.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 17500_v2.diff
Type: text/x-patch
Size: 2917 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110207/4759c6a7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 17500_v2_no_whitespace_changes.diff
Type: text/x-patch
Size: 1243 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110207/4759c6a7/attachment-0001.bin>


More information about the TYPO3-team-core mailing list