Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b4dbc96

Browse files
committedMar 10, 2024··
Tillate litt mer word
1 parent 72bad00 commit b4dbc96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎felles/util/src/main/java/no/nav/vedtak/util/InputValideringRegex.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public class InputValideringRegex {
6262
* <p>
6363
* Godtar ikke større-enn og mindre-enn tegn da disse kan misbrukes til å gjøre XSS-angrep
6464
*/
65-
public static final String FRITEKST_BREV = REGEXP_START + TEGN_FRITEKST + "\\p{Graph}\\p{M}\\p{N}" + REGEXP_SLUTT;
65+
public static final String FRITEKST_BREV = REGEXP_START + TEGN_FRITEKST + "\\p{Graph}\\p{M}\\p{N}\\p{P}\\p{Zl}\\p{Zp}" + REGEXP_SLUTT;
6666

6767
/**
6868
* Bruk dette mønsteret for å validere BASE64 "URL and Filename safe".

0 commit comments

Comments
 (0)
Please sign in to comment.