Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-21716

missing encoding header for /env-vars.html/

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
    • Environment:
      Ubuntu 12.04.4 LTS
      Jenkins 1.549
    • Similar Issues:

      Description

      Jenkins doesn't set the `content-type: text/html;charset=UTF-8` header for
      /env-vars.html/ so there's some problems with accented letters in French.

      Jenkins does set the header for other pages.

        Attachments

          Issue Links

            Activity

            Hide
            danielbeck Daniel Beck added a comment -

            And even worse, if you're behind a reverse proxy adding a default Content-Type of text/plain, you might end up with the raw HTML source.

            Show
            danielbeck Daniel Beck added a comment - And even worse, if you're behind a reverse proxy adding a default Content-Type of text/plain, you might end up with the raw HTML source.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Daniel Beck
            Path:
            core/src/main/resources/hudson/model/EnvironmentContributor/EnvVarsHtml/index.groovy
            http://jenkins-ci.org/commit/jenkins/8e2328df329e4abb1946c61eff240136315613cd
            Log:
            [FIXED JENKINS-21716] Set Content-Type header for env-vars.html

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/resources/hudson/model/EnvironmentContributor/EnvVarsHtml/index.groovy http://jenkins-ci.org/commit/jenkins/8e2328df329e4abb1946c61eff240136315613cd Log: [FIXED JENKINS-21716] Set Content-Type header for env-vars.html
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Harald Albers
            Path:
            core/src/main/resources/hudson/model/EnvironmentContributor/EnvVarsHtml/index.groovy
            http://jenkins-ci.org/commit/jenkins/013d55518f56accf04f89dfc248189d0f474e6d0
            Log:
            Merge pull request #1302 from daniel-beck/JENKINS-21716

            [FIXED JENKINS-21716] Set Content-Type header for env-vars.html

            Compare: https://github.com/jenkinsci/jenkins/compare/0bfab57ec013...013d55518f56

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Harald Albers Path: core/src/main/resources/hudson/model/EnvironmentContributor/EnvVarsHtml/index.groovy http://jenkins-ci.org/commit/jenkins/013d55518f56accf04f89dfc248189d0f474e6d0 Log: Merge pull request #1302 from daniel-beck/ JENKINS-21716 [FIXED JENKINS-21716] Set Content-Type header for env-vars.html Compare: https://github.com/jenkinsci/jenkins/compare/0bfab57ec013...013d55518f56
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #3492
            [FIXED JENKINS-21716] Set Content-Type header for env-vars.html (Revision 8e2328df329e4abb1946c61eff240136315613cd)

            Result = SUCCESS
            daniel-beck : 8e2328df329e4abb1946c61eff240136315613cd
            Files :

            • core/src/main/resources/hudson/model/EnvironmentContributor/EnvVarsHtml/index.groovy
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #3492 [FIXED JENKINS-21716] Set Content-Type header for env-vars.html (Revision 8e2328df329e4abb1946c61eff240136315613cd) Result = SUCCESS daniel-beck : 8e2328df329e4abb1946c61eff240136315613cd Files : core/src/main/resources/hudson/model/EnvironmentContributor/EnvVarsHtml/index.groovy
            Hide
            kerjakeras menra selala added a comment -

            great

            Show
            kerjakeras menra selala added a comment - great
            Hide
            danielbeck Daniel Beck added a comment -

            Integrated towards 1.571.

            Show
            danielbeck Daniel Beck added a comment - Integrated towards 1.571.

              People

              • Assignee:
                danielbeck Daniel Beck
                Reporter:
                bbigras Bruno Bigras
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: