#19186 [NEW]: Redirect to php.net/bad_function acts weird.
| From: | webkid at webkid dot com | Date: | Fri, 30 Aug 2002 04:00:32 +0000 |
| Subject: | #19186 [NEW]: Redirect to php.net/bad_function acts weird. | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-12175@lists.php.net to get a copy of this message | ||
From: webkid@webkid.com
Operating system: N/A
PHP version: 4.2.2
PHP Bug Type: Website problem
Bug description: Redirect to php.net/bad_function acts weird.
I have a script on my site that offers me a quick one-line command
interface. I've integrated the ability to type in something to the effect
of "php:function" to be redirected to http://www.php.net/function via a
Location header.
If I type something (say, "php:font") and the search engine rather than a
real function appears, all the links are relative to my domain. Example:
type "php:font"
head "Location: http://www.php.net/font"
top result links to "http://www.mydomain.com/style.css"
Important to note: If I type something to the effect of "php:date" (a real
function) there is no problem.
--
Edit bug report at http://bugs.php.net/?id=19186&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19186&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19186&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19186&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19186&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19186&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19186&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19186&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19186&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19186&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19186&r=globals