Airbnb is suing the city of Anaheim over a law that regulates short-term rentals.

The Orange County Register says Thursday’s suit argues the city violates free-speech rights and federal law by holding Airbnb responsible when users post listings for illegal short-term rentals.

Anaheim is home to Disneyland and Angel Stadium, and short-term rentals have proliferated as visitors seek cheaper alternatives to hotels.

About two weeks ago, the City Council voted to enhance current regulations — including fines for rental platforms that don’t ban illegal listings.

Airbnb argues the ordinance violates federal law that shields websites from responsibility for user-posted information.

Airbnb filed a similar suit against its hometown of San Francisco last month.

Copyright (2016) Associated Press. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.

This article was from The Associated Press and was legally licensed through the NewsCred publisher network.

Photo Credit: Airbnb's website on a tablet. The company sued San Francisco in June over a law that restricted listings and it just filed suit against Anaheim for the same reason.