Dan's the man as Cork hit Rovers late
Dan Murray's 92nd-minute winner at Turner's Cross brought Cork City to within three points of Dundalk and reignited the title race.
It looked like being a night of frustration for the hosts, who had been without a win in four games, but Murray's header from Colin Healy's corner gave them all three points.
The hosts couldn't muster a sustained threat on the Rovers defence in the first half and it by and large looked comfortable.
Captain Conor Kenna coped well when a John O'Flynn header across goal could have caused danger and though City had a penalty shout when Simon Madden might have been adjudged to have pushed Mark O'Sullivan, referee Paul Tuite waved played on.
Only a Stephen McPhail free-kick really called Mark McNulty into action at the other end.
The second half brought little real improvement although with 19 minutes remaining, City thought that their chance had come as Ross Gaynor's free-kick fell on Murray's head but he got his direction wrong.
As time ran out, Cork became more frantic but the focus was lacking. The late corner was their last opportunity and Murray made the most of it, sending the home fans into raptures.