[wp-hackers] Have I gone mad?

Daniel Dvorkin elrabino at gmail.com
Sun Apr 28 11:47:16 UTC 2013


 if (!isset($_POST['updraft_**restore']) ||
!is_array(maybe_unserialize($_POST['updraft_**restore']))) {

?



---------------------
Daniel Dvorkin
Móvil: +54 (0261) 15-315-2244
Skype: mzaweb
http://mzaweb.com



On Fri, Apr 26, 2013 at 5:05 PM, Simon Prosser <pross at pross.org.uk> wrote:

> The data in the OP did not have a colon
> http://screencast.com/t/nKoCEK5SyRk
>
>
> On 26 April 2013 20:29, David Anderson <david at wordshell.net> wrote:
>
> >
> > On 26/04/13 19:40, Simon Prosser wrote:
> >
> > > you have a : missing in there
> >
> > You're just experiencing some URL wrap in the email. I produced the
> > unserialised output from that string:
> >
> > $ php unserialize.php
> >
> > a:3:{s:6:"action";s:15:"**updraft_restore";s:16:"backup_**
> > timestamp";s:10:"1366984477";**s:15:"updraft_restore";a:5:{i:**
> > 0;s:7:"plugins";i:1;s:6:"**themes";i:2;s:7:"uploads";i:3;**
> > s:6:"others";i:4;s:2:"db";}}
> >  Array
> > (
> >     [action] => updraft_restore
> >     [backup_timestamp] => 1366984477
> >     [updraft_restore] => Array
> >         (
> >             [0] => plugins
> >             [1] => themes
> >             [2] => uploads
> >             [3] => others
> >             [4] => db
> >         )
> >
> > )
> >
> > Where unserialize.php is:
> >
> > #!/usr/bin/php
> > <?php print_r(unserialize(fgets(**STDIN))); ?>
> >
> > Anyway, missing colons in serialised output copied in emails does not
> > indicate how the error condition is triggered in the first place, which
> is
> > the question!
> >
> >
> > David
> >
> > --
> > WordShell - WordPress fast from the CLI - www.wordshell.net
> >
> > ______________________________**_________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.**com <wp-hackers at lists.automattic.com>
> > http://lists.automattic.com/**mailman/listinfo/wp-hackers<
> http://lists.automattic.com/mailman/listinfo/wp-hackers>
> >
>
>
>
> --
> My Blog: http://pross.org.uk/
> Plugins : http://pross.org.uk/plugins/
> Themes: http://wordpress.org/extend/themes/profile/pross
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list