I have recently noticed this answer by wetsavannaanimal to a Physics.SE question,
if a star is not a black hole, light shone upwards will escape the star's gravitational field, although light is red-shifted in doing so, heavily so if the star is massive
I'm particularly interested in the red-shifting part of the answer.
Although it's not the first time I'm seeing something similar, I wasn't sure whether this is something universally accepted.
Because if it is, I'm wondering whether the whole theory of the accelerated expansion still stands. As I understand the expansion the red-shift is quite crucial in the conclusion.