Closed Bug 290199 Opened 20 years ago Closed 20 years ago

/core/postfeedback.php has path for moreinfo.php hardcoded

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Bugzilla-alanjstrBugs, Assigned: morgamic)

Details

From
~/extensions/moreinfo.php?application=firefox&version=1.0&os=Windows&category=Blogging&id=408&page=opinion

Create a review and click Post

You're forwarded to postfeedback.php which then redirects you to the top level
url of /extensions/moreinfo.php

Cause:
http://lxr.mozilla.org/mozilla/source/webtools/update/core/postfeedback.php#173

$return_path="$type/moreinfo.php?id=$id&vid=$vid&page=comments&action=$action";
Index: core/postfeedback.php
===================================================================
RCS file: /cvsroot/mozilla/webtools/update/core/postfeedback.php,v
retrieving revision 1.6.2.1
diff -u -p -8 -r1.6.2.1 postfeedback.php
--- core/postfeedback.php       5 Apr 2005 04:47:08 -0000       1.6.2.1
+++ core/postfeedback.php       14 Apr 2005 05:41:14 -0000
@@ -151,11 +151,11 @@ if ($_POST["type"]=="E") {
     $type="themes";
 }

 if (!$action) {
     $action="successful";
 }

 $return_path="$type/moreinfo.php?id=$id&vid=$vid&page=comments&action=$action";
-header('Location: http://'.HOST_NAME.'/'.$return_path);
+header('Location: http://'.HOST_NAME.WEB_PATH.'/'.$return_path);
 exit;
 ?>
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.