Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added macro %URIEncodedText% for URI encoded substitution #2552

Merged
merged 3 commits into from Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG
Expand Up @@ -99,6 +99,7 @@ NOTICE: Create a parliament config file before upgrading (see https://arkime.com
- #2521 add footerTemplate setting
- #2525 add [config setting](https://arkime.com/settings#spiViewCategoryOrder) to set spiview category order
- #2523 resize session detail field label/values
- #2552 added %URIEncodedText% for URI encoded substitution (thanks @vpiserchia)
## Parliament
- #2377 dashboard-only mode removed, if you want users to just see the dashboard don't assign them the parliamentUser role
- #2395 configuration is now stored in opensearch/elasticsearch
Expand Down
1 change: 1 addition & 0 deletions viewer/vueapp/src/components/sessions/SessionField.vue
Expand Up @@ -549,6 +549,7 @@ export default {
.replace('%FIELD%', info.field)
.replace('%DBFIELD%', info.info.dbField)
.replace('%TEXT%', text)
.replace('%URIEncodedText%', encodeURIComponent(text))
.replace('%UCTEXT%', text.toUpperCase())
.replace('%HOST%', host)
.replace('%URL%', encodeURIComponent('http:' + url))
Expand Down