Bug 39776 - wrong regex in syntax.py
wrong regex in syntax.py
Status: RESOLVED DUPLICATE of bug 54589
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.1-x
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-04 14:43 CET by Janis Meybohm
Modified: 2022-03-25 10:11 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janis Meybohm univentionstaff 2015-11-04 14:43:48 CET
There are several occurrences of the regex ur"(?u)^\w([\w -.’]*\w)?$" in syntax.py and I guess they'r all wrong.

The character set includes any alphanumeric character, characters between ASCII 35 (the space) and ASCII 46 (the dot) and "’". I think that was meant was "[\w .’-]" (any alphanumeric character, space, dot, "’", dash).
Comment 1 Stefan Gohmann univentionstaff 2019-01-03 07:18:33 CET
This issue has been filled against UCS 4.0. The maintenance with bug and security fixes for UCS 4.0 has ended on 31st of May 2016.

Customers still on UCS 4.0 are encouraged to update to UCS 4.3. 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 2 Florian Best univentionstaff 2022-03-25 10:11:48 CET

*** This bug has been marked as a duplicate of bug 54589 ***