SECURITY: API: Don't find links in the middle of api.php links

Bug: 61362
Change-Id: Idf985e4e69c2f11778a8a90503914678441cb3fb
Merge "SECURITY: API: Don't find links in the middle of api.php links"