Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Url Encode Layout Renderer

Rolf Kristensen edited this page Apr 21, 2019 · 4 revisions

Encodes the result of another layout output for use with URLs.

Platforms Supported: All

Configuration Syntax

${url-encode:spaceAsPlus=Boolean:inner=Layout}

Parameters

Transformation Options

  • spaceAsPlus - Indicates whether spaces should be translated to '+' or '%20'. Boolean
  • inner - Wrapped layout. Layout
  • escapeDataRfc3986 - NLog will by default encode as UTF8 and escape special characters according to Rfc2396. To escape data according to standard Rc3986, set this option to 'true' (Available from NLog 4.4)
  • escapeDataNLogLegacy - NLog will by default encode as UTF8 and escape special characters according to Rfc2396. To escape data according to the old non-standard NLog style, set this option to 'true' (Available from NLog 4.4)

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.