Changeset 1508 for branches/3.0
- Timestamp:
- 11/25/2006 02:42:54 PM (2 years ago)
- Location:
- branches/3.0
- Files:
-
- 5 modified
-
HISTORY (modified) (1 diff)
-
UPGRADE (modified) (1 diff)
-
framework/Web/Services/TPageService.php (modified) (1 diff)
-
framework/Web/THttpRequest.php (modified) (1 diff)
-
framework/Web/THttpResponse.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/HISTORY
r1497 r1508 7 7 CHG: Ticket#454 - Redundant PHP Version Check 8 8 CHG: TRepeater does not render <span> anymore for empty item template (Qiang) 9 CHG: THttpRequest.constructUrl() now encodes ampersand by default (Qiang) 9 10 10 11 Version 3.0.5 October 23, 2006 -
branches/3.0/UPGRADE
r1497 r1508 17 17 --------------------- 18 18 - TRepeater does not render <span> anymore for empty item template. 19 - constructUrl() now encodes ampersand by default. This should have minimal 20 impact on any existing PRADO applications, though. 19 21 20 22 Upgrading from v3.0.4 -
branches/3.0/framework/Web/Services/TPageService.php
r1497 r1508 463 463 * @param string page path 464 464 * @param array list of GET parameters, null if no GET parameters required 465 * @param boolean whether to encode the ampersand in URL, defaults to false.465 * @param boolean whether to encode the ampersand in URL, defaults to true. 466 466 * @param boolean whether to encode the GET parameters (their names and values), defaults to true. 467 467 * @return string URL for the page and GET parameters 468 468 */ 469 public function constructUrl($pagePath,$getParams=null,$encodeAmpersand= false,$encodeGetItems=true)469 public function constructUrl($pagePath,$getParams=null,$encodeAmpersand=true,$encodeGetItems=true) 470 470 { 471 471 return $this->getRequest()->constructUrl($this->getID(),$pagePath,$getParams,$encodeAmpersand,$encodeGetItems); -
branches/3.0/framework/Web/THttpRequest.php
r1497 r1508 488 488 * @see parseUrl 489 489 */ 490 public function constructUrl($serviceID,$serviceParam,$getItems=null,$encodeAmpersand= false,$encodeGetItems=true)490 public function constructUrl($serviceID,$serviceParam,$getItems=null,$encodeAmpersand=true,$encodeGetItems=true) 491 491 { 492 492 $url=$serviceID.'='.$serviceParam; -
branches/3.0/framework/Web/THttpResponse.php
r1407 r1508 286 286 if($url[0]==='/') 287 287 $url=$this->getRequest()->getBaseUrl().$url; 288 header('Location: '. $url);288 header('Location: '.str_replace('&','&',$url)); 289 289 exit(); 290 290 }
