Closed Bug 293479 Opened 20 years ago Closed 20 years ago

do-not-add redirecting to AUS

Categories

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

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: u88484, Assigned: Bugzilla-alanjstrBugs)

References

()

Details

When you post a comment about the flashgot extension, after you submit the
comment you get the php code
https://aus.mozilla.org/extensions/moreinfo.php?id=220&vid=2388&page=comments&action=successful
 instead of the rendered page.



<?php
// ***** BEGIN LICENSE BLOCK *****
...
// ***** END LICENSE BLOCK *****

require_once('../core/init.php');

//Bookmarking-Friendly Page Title
$id = escape_string($_GET['id']);
$sql = "SELECT  Name FROM `main`  WHERE ID = '$id' AND Type = 'E' LIMIT 1";
$sql_result = mysql_query($sql, $connection) or trigger_error("MySQL Error
".mysql_errno().": ".mysql_error()."", E_USER_NOTICE);
    if (mysql_num_rows($sql_result)===0) {
        $return = page_error("1","Extension ID is Invalid or Missing.");
        exit;

then the rest of the code
I just went to that link and I see a few problems:

1) It says AUS, which is the application update
2) Clicking that link gives me a 404 error.
Target Milestone: 1.0 → 1.1
(In reply to comment #1)
> I just went to that link and I see a few problems:
> 
> 1) It says AUS, which is the application update
> 2) Clicking that link gives me a 404 error.

you have to go to
https://do-not-add.mozilla.org/extensions/moreinfo.php?id=220&application=firefox
and to try to add a comment to achieve that link. it can't be accessed simply by
clicking on it.
by the way the same thing is going on the
https://aus.mozilla.org/extensions/moreinfo.php?id=10&vid=664&page=comments&action=successful
page, which follows adding comment to the AdBlock Extension... seems that this
problem concerns adding comments to all extensions on update.mozilla.org
Assignee: Bugzilla-alanjstrBugs → justdave
Component: Web Site → Server Operations
OS: Windows XP → All
Product: Update → mozilla.org
QA Contact: mozilla.update → myk
Target Milestone: 1.1 → ---
Version: unspecified → other
Summary: Posting comment about flashgot shows php code instead of rendered page → do-not-add redirecting to AUS
Assignee: justdave → Bugzilla-alanjstrBugs
Component: Server Operations → Web Site
Product: mozilla.org → Update
QA Contact: myk → mozilla.update
Target Milestone: --- → 1.1
Version: other → 1.0
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.