The task is as follows. I need to add gett parameters depending on the specified string. For example:
domain.com to add a gett parameter you need to put "/" at the end of the line and then merge it with gett parameters.
But if the user specified a link like:
domain.com/index.php then you know right away you can glue without the "/".
If the user specified
domain.com/rise then it will be domain.com/rise?get
If a
domain.com/rise/ that
domain.com/rise/?get Help please identify this moment.