File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change
1
+ .idea
2
+ .vscode
1
3
* .cache
2
4
* .log
3
5
vendor /
Original file line number Diff line number Diff line change @@ -17,16 +17,14 @@ public static function sanitize(string $uri): string
17
17
{
18
18
return preg_replace (
19
19
[
20
- '/\/(?<=\/)([a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12})(?=\/)?/ ' ,
21
- '/\/(?<=\/)[A-Za-z]{3}\d[A-Za-z]\d{2}(?=\/)?/ ' ,
22
- '/\/(?<=\/)[A-Za-z]{3}\d{4}(?=\/)?/ ' ,
23
- '/\/(?<=\/)[0-9A-Fa-f]{24}(?=\/)?/ ' ,
20
+ '/\/(?<=\/)([A-F0-9]{8}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{12})(?=\/)?/i ' ,
21
+ '/\/(?<=\/)([A-Z]{3}-?\d[0-9A-Z]\d{2})(?=\/)?/i ' ,
22
+ '/\/(?<=\/)[0-9A-F]{24}(?=\/)?/i ' ,
24
23
'/\/(?<=\/)\d+(?=\/)?/ ' ,
25
24
],
26
25
[
27
26
'/<UUID> ' ,
28
27
'/<LICENSE-PLATE> ' ,
29
- '/<LICENSE-PLATE> ' ,
30
28
'/<OID> ' ,
31
29
'/<NUMBER> ' ,
32
30
],
You can’t perform that action at this time.
0 commit comments