Ticket #2000 (closed defect: fixed)
Spaces in group names break Squid
| Reported by: | alemartini | Owned by: | javier.amor.garcia@… |
|---|---|---|---|
| Milestone: | 2.2.X | Component: | users |
| Severity: | normal | Keywords: | yNzclGBeCwT |
| Cc: |
Description
If you have a group name with spaces on it, and then use that group in association with a filter profile for Squid / Dansguardian, then Squid won't start anymore after saving changes.
I suppose that this probably happens because squid doesn't allow objects with spaces in its ACLs.
Two possible solutions:
1) Do not allow entering group names with spaces in them 2) Allow spaces in group names, but do not allow to associate such a group to a filter profile. Or at least show a big, clear warninng explaining the implications.
This may seem as a minor issue, since it takes very little to an experienced sysadmin to figure what went wrong and correct it. However, users with less experience could completely break their proxies with just a small mistake.
Attachments
Change History
comment:1 Changed 3 years ago by javier.amor.garcia@…
- Owner changed from jsalamero@… to javier.amor.garcia@…
comment:2 Changed 3 years ago by javier.amor.garcia@…
- Status changed from new to closed
- Resolution set to fixed
comment:3 Changed 3 years ago by javier.amor.garcia@…
if you want to check te fix: 1) Downlaod the new version of squid.conf.mas -> http://trac.ebox-platform.com/export/18077/trunk/client/squid/stubs/squid.conf.mas
2) Use it to replace /usr/share/ebox/stubs/squid/squid.conf.mas (I suggest you back up the fiel first)
3) restart hTTP module '/etc/init.d/ebox squdi restart'
Thanks a lot for you bug report. I will try to look the issue later on the day