[geeklog-devel] Plugin upgrade failure (was: More automation)

Joe Mucchiello jmucchiello at yahoo.com
Sun May 22 09:20:44 EDT 2011


> SEC_createToken uses COM_getCurrentURL to get the current URL. But the 
>reconstructed > URL is missing the ?msg=44 bit, probably because we're in the 
>middle of a POST > request at this point. > > Ugh. I don't really want to fiddle 
>with COM_getCurrentURL at this point.

I'm not following this discussion completely but could you add a parameter to
SEC_createToken allowing you to override the URL. Call COM_getCurrentURL from
the install/upgrade code and strip off everything after the ? to create the
correct URL before calling SEC_createToken.




More information about the geeklog-devel mailing list