Quote Originally Posted by Sinner
You've answered it yourself: there is no flank. Infantry need to be face on to cavalry to have any chance of holding them off.
Exactly, and you can provide a wall of pila/spears/pikes, etc in all directions. Horses will naturally refuse to charge into a solid formation with lots of sharp bits of metal sticking out.