Fixed deep linking.

Fixed possible security problem.