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

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