A competitor is linking to a PDF page on our site, but using a masking URL.

Are we getting link juice for this? I saw no disallows in their .robots.txt file, but I also could not view the source code of the PDF page to see if it was a follow link or not.