[wp-hackers] Need help upgrading CG-Related plugin to
1.3...
Dennis Williamson
dennis at netstrata.com
Wed Oct 27 04:55:12 UTC 2004
So in 1.59 and prior the code path that would produce R_U.?.Q_S was never
executed?
$_SERVER['REQUEST_URI'] = ( isset($_SERVER['REQUEST_URI']) ?
$_SERVER['REQUEST_URI'] : $_SERVER['SCRIPT_NAME'] . ((
isset($_SERVER['QUERY_STRING']) ? '?' . $_SERVER['QUERY_STRING'] : '')));
The TRUE clause in the first ternary statement appended to the TRUE clause
in the second.
Dennis
At Tuesday 10/26/2004 11:31 AM, you wrote:
>On Tue, 2004-10-26 at 08:46 -0500, Dennis Williamson wrote:
> > Ryan,
> >
> > I just saw your fix in version 1.61 of wp-settings.php. It behaves
> > differently than 1.59 and prior (and 1.60).
> >
> > In the 1.59 and earlier versions, if R_U was set and Q_S was set you'd get
> > R_U.?.Q_S. The same is true with 1.60 (but with a test for Q_S being
> empty).
> >
> > With 1.61, on non-IIS (R_U is set), you get R_U by itself and never get a
> > Q_S appended.
>
>1.61 should have the same logic as 1.59, where R_U is left alone if
>already set. R_U as set be the server should contain the Q_S. That's
>why David was seeing the Q_S twice with the broken 1.60.
>
>Ryan
>
>
>
>_______________________________________________
>hackers mailing list
>hackers at wordpress.org
>http://wordpress.org/mailman/listinfo/hackers_wordpress.org
More information about the hackers
mailing list