This mail is an automated notification from the bugs tracker
 of the project: Savane.

/**************************************************************************/
[bugs #703] Latest Modifications:

Changes by: 
                Mathieu Roy <[EMAIL PROTECTED]>
'Date: 
                jeu 16.09.2004 ŕ 20:57 (Europe/Paris)

            What     | Removed                   | Added
---------------------------------------------------------------------------
            Severity | 3 - Average               | 5 - Blocker
          Resolution | None                      | Fixed
         Assigned to | None                      | yeupou
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
The following code was responsible for this unusual behavior.

if ($_POST['limit'])
   { 
   $limit= $_POST['limit']; 
   }
elseif ($_GET['limit'])
   { 
   $group_id = $_GET['limit']; 
   }

Unable to understand why it created such a problem (I noticed adding amp; to the & was 
helpful, but there should not be any need to add such amp; to and & generated by a 
form, and not by the code us), I simply commented it out.

Lorenzo, as it was yours, maybe you know better was could be the cause of trouble. 
I suspect this page will no longer works with register globals off. 

Almost off-topic:
In fact, I suspect getting register globals off to be achievable only with a recently 
started PHP application. And, well, the major advantage of PHP was simplicity. But 
with registers global set to off, it definitely no longer have any advantage on perl.
Reading http://tnx.nl/php just confort my opinion.







/**************************************************************************/
[bugs #703] Full Item Snapshot:

URL: <http://gna.org/bugs/?func=detailitem&item_id=703>
Project: Savane
Submitted by: Mathieu Roy
On: lun 13.09.2004 ŕ 16:29

Category:  Web Frontend: News
Severity:  5 - Blocker
Priority:  C - Normal
Resolution:  Fixed
Privacy:  Public
Assigned to:  yeupou
Status:  Closed
Release:  
Planned Release:  


Summary:  news tracker disallow viewing summaries

Original Submission:  No way to browse as we should be able to 

https://gna.org/news/index.php?group=admin&limit=100
returns "insufficient group access"

https://gna.org/news/index.php?group=admin&limit=10
returns "this project does not use this tracker"

Commentaires
------------------


-------------------------------------------------------
Date: jeu 16.09.2004 ŕ 20:57        By: Mathieu Roy <yeupou>
The following code was responsible for this unusual behavior.

if ($_POST['limit'])
   { 
   $limit= $_POST['limit']; 
   }
elseif ($_GET['limit'])
   { 
   $group_id = $_GET['limit']; 
   }

Unable to understand why it created such a problem (I noticed adding amp; to the & was 
helpful, but there should not be any need to add such amp; to and & generated by a 
form, and not by the code us), I simply commented it out.

Lorenzo, as it was yours, maybe you know better was could be the cause of trouble. 
I suspect this page will no longer works with register globals off. 

Almost off-topic:
In fact, I suspect getting register globals off to be achievable only with a recently 
started PHP application. And, well, the major advantage of PHP was simplicity. But 
with registers global set to off, it definitely no longer have any advantage on perl.
Reading http://tnx.nl/php just confort my opinion.





CC List
-------

CC Address                          | Comment
------------------------------------+-----------------------------
lorenzo                             | 









For detailed info, follow this link:
<http://gna.org/bugs/?func=detailitem&item_id=703>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Savane-dev mailing list
[EMAIL PROTECTED]
https://mail.gna.org/listinfo/savane-dev

Reply via email to