[wp-testers] Akismet 1.12 on IIS

Ryan Boren ryan at boren.nu
Thu Dec 22 00:43:22 GMT 2005


On Wed, 2005-12-21 at 16:30 -0500, Owen Winkler wrote:
> James Johnson wrote:
> > Just upgraded and it appears that the fix Matt added for IIS users is no
> > longer in 2.0.
> > 
> > Here is the original bug that was fixed:
> > http://trac.wordpress.org/ticket/1599
> > 
> > The fix is the very last thing in changeset 3025.
> 
> That fix broke the established behavior of the plugin_basename() 
> function, which is to return the filename and possibly one level of 
> directory name for a plugin file that is passed to it.
> 
> When you stripslash on IIS, it often removes the slash that should be there.
> 
> If a plugin has a problem with using the function, it is a plugin issue, 
> not an issue with the plugin_basename() function, though it might be 
> worthwhile to see if this can be accounted for in some other way.

Maybe plugin_basename() can preg_replace() '\+' with '\'.

Ryan



More information about the wp-testers mailing list