Haneef was the second person charged in connection with the failed attacks in London and Glasgow .