Skip to content

Commit

Permalink
#396 use regex for file name checking for binary files
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberroland committed Jan 4, 2025
1 parent 7c168f7 commit 8b00b13
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lam/HISTORY
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ March 2025 9.1
- Usability improvements (360)
- Fixed bugs:
-> Ambiguous tooltip on profile editor for Shadow users (#394)
-> Self service photo file (#396)
-> Self service photo file enhancements (#396)


17.12.2024 9.0
Expand Down
26 changes: 18 additions & 8 deletions lam/docs/manual-sources/chapter-selfService.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1703,11 +1703,12 @@

<entry>Label that is displayed on page</entry>

<entry>optional regular expression for validation (e.g.
"/^[0-9a-zA-Z]+$/")</entry>
<entry>Optional regular expression for validation (e.g.
"/^[0-9a-zA-Z]+$/"). For binary fields the file name will be
checked.</entry>

<entry>validation message if value does not match validation
expression</entry>
<entry>Validation message if value does not match validation
expression.</entry>
</row>

<row>
Expand All @@ -1721,11 +1722,12 @@

<entry>Label that is displayed on page</entry>

<entry>optional regular expression for validation (e.g.
"/^[0-9a-zA-Z]+$/")</entry>
<entry>Optional regular expression for validation (e.g.
"/^[0-9a-zA-Z]+$/"). For binary fields the file name will be
checked.</entry>

<entry>validation message if value does not match validation
expression</entry>
<entry>Validation message if value does not match validation
expression.</entry>
</row>

<row>
Expand Down Expand Up @@ -1800,6 +1802,14 @@

<para>constant::userAccountControl::512</para>

<literallayout>
</literallayout>

<para>Binary file:</para>

<para>required::jpegPhoto;binary::Photo::/.jp(e)?g$/i::Please select a
JPG file</para>

<literallayout>
</literallayout>

Expand Down

0 comments on commit 8b00b13

Please sign in to comment.