Really this comes down to what the cleaning solution is made from. If a cleaner is disposed of as the label states it should be ok for the environment. Many times these cleaners are tested with the government to find the best way of disposal to reduce or eliminate any environmental damage.
Always dispose your cleaning agents as the directions tell you to.