Commit cee0f1f
committed
fix: use variable for regex in share link validation to avoid bash syntax error
The & character in the regex pattern caused a 'syntax error in conditional
expression: unexpected token &' when used directly in [[ =~ ]]. Storing
the pattern in a variable first is the correct bash idiom for regex matching.1 parent 4063002 commit cee0f1f
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
| 160 | + | |
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
| |||
0 commit comments