Not sure where
this website sourced the information but it lists these minimum connection times:
LCY (City)
Domestic to Domestic - 30 minutes
Domestic to International - 30 minutes
International to Domestic - 30 minutes
International to International - 30 minutes
so the OP's connection appears to 'legal'