We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72bad00 commit b4dbc96Copy full SHA for b4dbc96
felles/util/src/main/java/no/nav/vedtak/util/InputValideringRegex.java
@@ -62,7 +62,7 @@ public class InputValideringRegex {
62
* <p>
63
* Godtar ikke større-enn og mindre-enn tegn da disse kan misbrukes til å gjøre XSS-angrep
64
*/
65
- public static final String FRITEKST_BREV = REGEXP_START + TEGN_FRITEKST + "\\p{Graph}\\p{M}\\p{N}" + REGEXP_SLUTT;
+ public static final String FRITEKST_BREV = REGEXP_START + TEGN_FRITEKST + "\\p{Graph}\\p{M}\\p{N}\\p{P}\\p{Zl}\\p{Zp}" + REGEXP_SLUTT;
66
67
/**
68
* Bruk dette mønsteret for å validere BASE64 "URL and Filename safe".
0 commit comments