Light is a particle that acts like a wave and therefore does not travel in a straight line. light has nothing to do with gravity, the fourth dimension or the 'fabric' of space time.
Yes, according to the rectilinear propagation of light, light does travel in a straight line. The only two things that can possibly alter that are near-relativistic speeds, and intense gravity. The...