Web applications often redirect and forward users to other pages and websites, and use untrusted data to determine the destination…