Ticket #800 (assigned defect)

Opened 3 years ago

Last modified 3 years ago

SGL_Url::toPartialArray parsing prob

Reported by: thomas Assigned to: demian (accepted)
Priority: normal Milestone:
Component: SGL - Url Severity: normal
Keywords: Cc:

Description

I think I found a small bug in correct url decoding when seagull reads a name of module and menager from URL.

When we write this link: http://localhost/videovroom/video/action/list videovroom is dir name video is a module name (VideoMgr?) in file SGL/Url.php in function toPartialArray

foreach ($aUriParts as $elem) {
                    if (stristr($pathFromServer, $elem)) {
                        array_shift($aUriParts);
                    } else {
                        break;
                    }
                }

the name "video" was removed.

I changed dir name to "wideoroom" it works, but is not a good method.

Change History

04/22/06 22:13:40 changed by demian

  • owner changed from thomas to demian.
  • status changed from new to assigned.

06/05/06 20:45:46 changed by demian

  • summary changed from wrong $pathFromServer to SGL_Url::toPartialArray parsing prob.

08/13/06 20:30:52 changed by demian

  • milestone deleted.