Commit 732f0b1c authored by remy's avatar remy
Browse files

update check_urls for rstudio

parent 1889b791
......@@ -66,7 +66,7 @@ usage="$0 [compare|init|check|clean|--help]\n\n
function remove_dyn_elems {
# listing of dynamic elements, depending on product solution
wp_regexp_arr=('search-form' 'cropped' 's?ver=')
wp_regexp_arr=('search-form' 'cropped' 's?ver=' '.min.css?ver=')
wp_regexp_plugin_wedevsprojectmanager="pusher.+ver="
wp_regexp_plugin_gravityform='ajax.php'
wp_regexp_plugin_calendar="\sid=\"today\""
......@@ -79,6 +79,7 @@ function remove_dyn_elems {
gitbook_regexp_arr=("data-revision" "mtime")
hesk_rule='165d'
shinyproxy_regexp_arr=('_csrf')
rstudio_regexp_arr=('csrf-token')
while read name website type product plugins activity owner
do
......@@ -128,6 +129,12 @@ function remove_dyn_elems {
sed -ri -e /$shinyproxy_regexp/d $name.index.html
done
;;
"rstudio" )
for rstudio_regexp in ${rstudio_regexp_arr[@]}
do
sed -ri -e /$rstudio_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