Closed (fixed)
Project:
Hosting
Version:
5.x-0.1-beta2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Nov 2008 at 02:00 UTC
Updated:
16 Dec 2008 at 03:21 UTC
This attempts to catch errors that appear before provision_output is called by placing a content marker in front of the serialized string.
This works for me, but needs more love and testing
the provision patch applies to both d5 and head branches.
| Comment | File | Size | Author |
|---|---|---|---|
| provision.safer_serialization.diff | 2.39 KB | adrian | |
| hosting.safer_serialization.diff | 2.66 KB | adrian |
Comments
Comment #1
anarcat commentedI reviewed and tested the patch, it seems to work and survive drush's infamous -v.
I have only one small problem with the patch:
Why !trim? For me this reads like:
Seems wrong... What is the use of this line anyways?
Comment #2
anarcat commentedI committed the patch with that small change (trim() instead of !trim()).