Skip to main content

28 maggio 2026

Content Type Checking

By default, Horizon 8 accepts requests with the following declared content types only:

  • application/x-www-form-urlencoded
  • application/xml
  • text/xml

Note: In earlier releases, this protection was deactivated by default.

To restrict the content types that Horizon 8 accepts, add the following entry to the file locked.properties:

acceptContentType.1=content-type

For example:

acceptContentType.1=x-www-form-urlencoded

To accept another content type, add the entry acceptContentType.2=content-type, and so on

To accept requests with any declared content type, specify acceptContentType=*.

Questa pagina è stata utile?

Invia un feedback su questo argomento

Questo argomento è stato utile?

Non includere informazioni personali o riservate.

Generazione del link…