Commit 1889b791 authored by remy's avatar remy
Browse files

updating url / adding shinyproxy as regexp + gitlab js chunk and bundle

parent e3f5b200
......@@ -72,12 +72,13 @@ function remove_dyn_elems {
wp_regexp_plugin_calendar="\sid=\"today\""
wp_regexp_plugin_rsswidget="rsswidget"
wp_regexp_plugin_sfsi="sfsi_plugin_version"
gitlab_regexp_arr=("authenticity_token" "csrf-token")
gitlab_regexp_arr=("authenticity_token" "csrf-token" src\\\=\\\"\\\/assets\\\/webpack\\\/.+\.[A-Za-z0-9]{8}\.\(chunk\|bundle\).js\\\")
typesetter_regexp_arr=("wgBackendResponseTime" "wgRequestId" "time" "[0-9]{1,3}(\.[0-9]{1,2})*%\s+[0-9]{1,2}\.[0-9]{3}")
nextcloud_regexp_arr=("token" "nonce" "core\/css\/guest.css")
nextcloud_regexp_arr=("token" "nonce" "core\/css\/guest.css" "initial-state-theming-data" "initial-state-core-config")
nextcloud_regexp_plugin_deck='deck/css/activity.css?v='
gitbook_regexp_arr=("data-revision" "mtime")
hesk_rule='165d'
shinyproxy_regexp_arr=('_csrf')
while read name website type product plugins activity owner
do
......@@ -121,6 +122,12 @@ function remove_dyn_elems {
sed -ri -e /$typesetter_regexp/d $name.index.html
done
;;
"shinyproxy" )
for shinyproxy_regexp in ${shinyproxy_regexp_arr[@]}
do
sed -ri -e /$shinyproxy_regexp/d $name.index.html
done
;;
"gitlab" )
for gitlab_regexp in ${gitlab_regexp_arr[@]}
do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment