Skip to content

Commit

Permalink
Tillate litt mer word
Browse files Browse the repository at this point in the history
  • Loading branch information
jolarsen committed Mar 10, 2024
1 parent 72bad00 commit b4dbc96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public class InputValideringRegex {
* <p>
* Godtar ikke større-enn og mindre-enn tegn da disse kan misbrukes til å gjøre XSS-angrep
*/
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;

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

0 comments on commit b4dbc96

Please sign in to comment.