Yosef Karo, Translation:Shulchan Aruch — Orach Chaim 338…
“ Paragraph 8 - One is permitted to put a dish under leaks on Shabbat. If it fills up, he can pour it out and return it to its place. This is assuming that it would be possible to use the drippings for bathing. If it is not, this is forbidden because we do not make a chamber pot a priori. However, if he put a dish under drippings that are not fitting for bathing, he is permitted to carry it with the disgusting water inside. ”
