Cedar is definitely toxic.
I don't really know how the "pine is bad" thing got started. However it got started, a lot of people blindly read it, and blindly repeated it to the point it became commonly accepted.
Someone else may be able to provide a better answer and more info for you.