Ticket #172 (closed Bug: fixed)

Opened 4 years ago

Last modified 4 years ago

JS Code has extra slash

Reported by: loki_racer Owned by:
Priority: low Milestone: RobotRock
Component: Core Keywords:
Cc: Sensitive:

Description

piwik_url = 'http://piwik.example.com//piwik.php';

should be

 piwik_url = 'http://piwik.example.com/piwik.php';

Change History

Changed 4 years ago by loki_racer

/modules/Url.php line 79 through 89 should be

	static public function getCurrentUrlWithoutFileName()
	{
		
		$host = self::getCurrentHost();
		$queryString = self::getCurrentScriptName() ;
		
		//add a fake letter case /test/test2/ returns /test which is not expected
		$urlDir = dirname ($queryString . 'x');
		return $host.$urlDir;
		 
	}

Changed 4 years ago by matt

  • milestone set to RobotRock

Changed 4 years ago by matt

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

(In [466]) - fix #172 extra trailing slash when piwik installed in its own subdomain

Note: See TracTickets for help on using tickets.