Bug 30340 - Rules with umlauts or slash in its name are corrupt
Rules with umlauts or slash in its name are corrupt
Status: REOPENED
Product: UCS@school
Classification: Unclassified
Component: UMC - Internet rules
UCS@school 5.0
Other Linux
: P3 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
: 31589 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-07 12:17 CET by Jascha Geerds
Modified: 2023-06-13 10:31 CEST (History)
4 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.034
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): bitesize, Troubleshooting
Max CVSS v3 score:
best: Patch_Available+


Attachments
patch (1.24 KB, patch)
2016-01-18 14:49 CET, Florian Best
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jascha Geerds univentionstaff 2013-02-07 12:17:35 CET
There are two nearly identical bugs with the UMC module:

1) When defining a internet rule with umlauts in its name, the rule won't be created but there is also no error message.

2) Rules with a slash in its name are created but in a wrong way:

name: "test-rule/with/slash"

results to:

ucr search --brief test-rule
proxy/filter/setting/test-rule/with/slash/domain/blacklisted/1: facebook.com
proxy/filter/setting/test-rule/with/slash/filtertype: blacklist-pass
proxy/filter/setting/test-rule/with/slash/priority: 5
proxy/filter/setting/test-rule/with/slash/wlan: false

The created rule is corrupt and won't be listed in the UMC module.
Comment 1 Florian Best univentionstaff 2013-11-18 15:56:33 CET
*** Bug 31589 has been marked as a duplicate of this bug. ***
Comment 2 Florian Best univentionstaff 2016-01-18 14:49:59 CET
Created attachment 7413 [details]
patch
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2019-02-05 21:26:30 CET
This issue has been filled against UCS@school 3.2. The maintenance with
bug and security fixes for UCS@school 3.2 has ended on Dec 31, 2016.

Customers still on UCS 3.x are encouraged to update to UCS 4.3 (or later). 
Please contact your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug"
or simply reopen the issue. In this case please provide detailed information on
how this issue is affecting you.
Comment 4 Florian Best univentionstaff 2023-06-12 19:13:58 CEST
Code still present. Patch available.