-
-
Notifications
You must be signed in to change notification settings - Fork 827
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
Avoid multiple log files in multi-language environments #23722
Avoid multiple log files in multi-language environments #23722
Conversation
(Standard links)
|
The languageNegotiationURL function is weird (well, the remove args), but this change is otherwise harmless, and I have to admit that the multiple log files are really annoying/confusing. +1 on concept. I would have recommended to remove the URL from there completely, but then everyone's log files will be renamed, and that will annoy people to. Then again, maybe simpler code is worth it. @sluc23 @seamuslee001 this might interest you. Opinion on keeping the URL, or drop? |
+1 to have only 1 |
Soft +1 for common log file in the multi-language sites (using this patch -- ie using the common base URL). IMHO, long-term, we should probably try to replace (phase-out) However.... within the rubric of
In the worst case, So... 1+2+3 is more secure than just 1+2, but it's still not particularly secure (overall). IMHO, it would be more robust (secure+simple) to have this random value pre-generated and stored in |
OK, so I guess +1 from Tim on keeping the URL in there. Which makes this PR merge-ready? Any objections? |
Overview
Fixes dev/core/3491
Before
Multiple log files (one per language) in multi-language environments when using path prefixes.
After
Only one log file per environment.
Technical Details
Removes language path prefixes from user framework base URL when generating log file name hash.
Comments
I dird not have the time to thoroughly test this, but wanted to provide it as a PR as requested by @jaapjansma in the issue.