-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic URL #4394
Comments
Read the User Guide on Routing: https://codeigniter.com/user_guide/incoming/routing.html If you need more assistance, support questions need to be directed to the CodeIgniter Forums. GitHub is for bug reports and discussed feature requests. |
thanks sir, I mean can I add dynamic url function. in |
whether these changes are allowed, if I change the line |
curl -H "HOST: Ass On Fire" http://target |
To make the base URL dynamic in the main framework is to introduce a security risk, since as @iRedds pointed out it can be set as anything by the end user. That's why it's done the way it's done currently. Obviously, you're free to make your own decisions on your application and the situation it will be used, but unless for a very specific reason I wouldn't suggest it just to make your life simpler. If you do need that, make sure you have whitelist in place to check them against. Besides - using the |
thank you sir, what you have conveyed is input for me. |
@muh-ramadhan Were you able to use dynamic baseURLs ? |
Can I add dynamic url to minimize configuration.
The text was updated successfully, but these errors were encountered: