though aluminum foil is safe on the oven rack, your food can be unevenly cooked! to minimize the risk of the previous method, many people recommend using aluminum foil to warp or line the bottom rack of the oven. this seems to be a better option if you want to use aluminum foil as a liner to collect all the spillages.