[wp-trac] Re: [WordPress Trac] #5160: REQUEST_URI fix for IIS
misses certain configurations
WordPress Trac
wp-trac at lists.automattic.com
Tue Dec 18 14:48:45 GMT 2007
#5160: REQUEST_URI fix for IIS misses certain configurations
-------------------------------------------------+--------------------------
Reporter: brh | Owner: anonymous
Type: defect | Status: reopened
Priority: normal | Milestone: 2.3.2
Component: General | Version:
Severity: normal | Resolution:
Keywords: REQUEST_URI has-patch needs-testing |
-------------------------------------------------+--------------------------
Changes (by Cimmo):
* cc: cimmino.marco at gmail.com (added)
Comment:
A person emailed me that have a bug with my plug-in (Cimy Swift SMTP) and
IIS, so I gave him the patched wp-settings.php and all went ok.
The code not working under IIS was:
{{{
<form method="post" action="<?php echo
$_SERVER['REQUEST_URI'];?>&updated=true">
}}}
but also this piece of code that I gave to him to fix the problem wasn't
ok before and it's ok after the patched wp-settings.php:
{{{
<form method="post" action="<?php echo add_query_arg('updated', 'true',
wp_get_original_referer()); ?>">
}}}
so my 2 cents for this fix :)
--
Ticket URL: <http://trac.wordpress.org/ticket/5160#comment:17>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list