Actor-politician Ramya, who is facing sedition charges for her recent comments on Pakistan, was attacked by protestors near Mangalore airport on 25 August.
Protestors hurled stones and eggs at Ramya's car in Mangalore.
The police have now detained the attackers.
A lawyer from Karnataka, Katnamane Vittal Gowda, was reportedly "appalled" by her statement on Pakistan and filed a sedition case against her in Kodagu.
"Pakistan is not hell. People there are just like us. They treated us very well," she had said.
The Congress leader made the comments after she visited Islamabad for a meeting of young parliamentarians from the South Asian Association for Regional Cooperation.
However, Ramya has refused to extend an apology and has asserted that the sedition law needs to be repealed. "No question of apologising. It's important that the sedition law gets repealed. I didn't do anything wrong. Pakistanis are good people, just like us," she told News 18.
Ramya made the comments in response to Defence Minister Manohar Parrikar's remarks about an infiltration bid which was foiled on 15 August by the Indian Army. He had then compared the neigbouring country to "hell".
--With Agency inputs