diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-04-16 20:15:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-16 20:15:24 -0400 |
commit | 36af2cf8ac46b3fce7144efdb6fcc2d3a71593fb (patch) | |
tree | b2bd895befa449ac8fb983755fc9f337e25926e0 /src/SMAPI.Web/Views/LogParser | |
parent | d486d940bae57f627fbe3210bbfa611a5586c8e8 (diff) | |
parent | 446205c7bd342422f4b4f14d6c8f36dc0b6cf468 (diff) | |
download | SMAPI-36af2cf8ac46b3fce7144efdb6fcc2d3a71593fb.tar.gz SMAPI-36af2cf8ac46b3fce7144efdb6fcc2d3a71593fb.tar.bz2 SMAPI-36af2cf8ac46b3fce7144efdb6fcc2d3a71593fb.zip |
Merge pull request #841 from KhloeLeclair/safe-regex
[Website] Improve regex safety for the log viewer
Diffstat (limited to 'src/SMAPI.Web/Views/LogParser')
-rw-r--r-- | src/SMAPI.Web/Views/LogParser/Index.cshtml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/SMAPI.Web/Views/LogParser/Index.cshtml b/src/SMAPI.Web/Views/LogParser/Index.cshtml index dfb603f2..5e55906d 100644 --- a/src/SMAPI.Web/Views/LogParser/Index.cshtml +++ b/src/SMAPI.Web/Views/LogParser/Index.cshtml @@ -406,6 +406,12 @@ else if (log?.IsValid == true) <span role="button" v-bind:class="{ active: !filterInsensitive }" v-on:click="toggleFilterInsensitive" title="Match exact capitalization only.">aA</span> <span role="button" v-bind:class="{ active: filterUseWord, 'whole-word': true }" v-on:click="toggleFilterWord" title="Match whole word only."><i>“ ”</i></span> <span role="button" v-bind:class="{ active: shouldHighlight }" v-on:click="toggleHighlight" title="Highlight matches in the log text.">HL</span> + <div + v-if="filterError" + class="filter-error" + > + {{ filterError }} + </div> </div> <filter-stats v-bind:start="start" |