Ticket #1209 (closed defect: fixed)

Opened 8 months ago

Last modified 5 months ago

Midgard parses GET parameters incorrectly

Reported by: bergie Assigned to: piotras
Priority: blocker Milestone: 9.09 Mjolnir
Component: Midgard PHP Version: 9.09 Mjolnir
Keywords: Cc:

Description (Last modified by bergie)

When making the following URL request in midgard2 environment:

/?q=http://twitter.com/bergie

The value of $_SERVER[REQUEST_URI] is:

/?q=http://twitter.com/bergie

But unlike expected, the $_GET array is empty (it should contain 'q' => 'http://twitter.com/bergie').

$request_config->get_argv(); returns:

array(3) { 
    [0]=> string(8) "?q=http:" 
    [1]=> string(11) "twitter.com" 
    [2]=> string(6) "bergie" 
} 

...which is obviously quite wrong.

Change History

06/15/09 20:43:52 changed by bergie

  • description changed.

06/15/09 20:59:34 changed by bergie

(In [22522]) Quick workaround for missing GET parameters, refs #1209

06/15/09 21:44:03 changed by piotras

(In [22524]) Check if url is not a part of get method. Refs #1209

08/30/09 13:59:13 changed by piotras

  • version changed from 9.03 Vinland to 9.09.
  • milestone changed from 9.03.1 Vinland to 9.09 Mjolnir.

09/02/09 12:49:19 changed by piotras

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in svn. Available in nightly tarballs and binary packages.