Relative permalinks

I noticed that in excerpt title permalink is relative where more permalink is absolute. Difference is in called functions. Title permalink calls the_permalink function which is filtered and more permalink calls get_permalink function which is not. My solution is that we remove ‘the_permalink’ from filter and add ‘post_link’.
I did not test this much.

Is it safe to call roots_root_relative_url function to force relative urls?