Running PHP 532 and CI 172:
Test code in a controller function:
$assoc_uri = $this->uri->uri_to_assoc(1); // get full uri
$test_link = anchor($assoc_uri, 'test link'); // bugged? skips the first key?
$test_link2 = anchor($this->uri->assoc_to_uri($assoc_uri), 'test link 2');
The first link is bugged. It loses the name of the controller in the final URI. Compare that with the second use of anchor (string), using the same data, that works as expected. For example:
Is this a known issue? Am I missing something glaringly obvious here?