Simplify the checking logic for deal URL field of 'share' function.