Constructing URLs
Another common behavior in redirections is to construct a URL using the values entered in a parameter:
www.pineapple.com/index.php?r=store&country=mx
The application constructs a URL as follows:
store.pineapple.com.mx
But, if we modify a parameter, it can manipulate the result, as follows:
www.pineapple.com/index.php?r=admin&country=ca admin.pineapple.com.ca