Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-2844

No HTTP Header 'Content-Type' in the Renew public web page

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: EJBCA 4.0.12
    • Fix Version/s: None
    • Component/s: Public Web UI
    • Labels:
      None
    • Issue discovered during:
      Integration

      Description

      NOTE: this bug only impact the Public Renew page via an Apache proxy.

      Description:

      • the Renew page from Public Web don't set the HTTP Header 'Content-Type'

      Problem or not?

      • access to JBoss: no problem, the web page is correctly displayed in web browser
      • access via Apache proxy (mod_proxy): problem, only the HTML code is displayed in web browser

      Where the problem come from?

      • JBoss correctly generates the Renew web page (HTML code, without JSP code).
      • But, JBoss send back the content of the web page without MIME type (in HTTP Header).
      • Then, when Apache proxy see that no MIME type is set, it set the HTTP Header 'Content-Type' with the default value (i.e. 'text/plain').

      Action:

      • check, then force JBoss/EJBCA to set the HTTP Header 'Content-Type' with 'text/html'.

        Attachments

          Activity

            People

            • Assignee:
              dcarella David Carella
              Reporter:
              dcarella David Carella
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: