Opened 6 years ago

Closed 6 years ago

#172 closed Bug (fixed)

JS Code has extra slash

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


piwik_url = '';

should be

 piwik_url = '';

Change History (3)

comment:1 Changed 6 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;

comment:2 Changed 6 years ago by matt (mattab)

  • Milestone set to RobotRock

comment:3 Changed 6 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.