Former Cardiff player Earnshaw enjoyed his return to Ninian Park, getting a standing ovation from the Bluebirds fans and hitting the bar with a free-kick.
The club has asked for a relaxation of the rules in order to allow away fans to use the bar during matches where the match safety officer and police deem the risk of trouble low.