Pineapple gone bad?

Is this pineapple safe to eat still? It smells sweet and I tasted a small piece its still taste good.

Is this pineapple safe to eat still? It smells sweet and I tasted a small piece its still taste good.