Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-555

Storm Json response encoding should be UTF-8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.9.3
    • storm-core
    • None

    Description

      Currently the storm Rest API responses has charset=iso-8859-1 set by ring/jetty by default. However on html pages we have meta tag set to UTF-*. The response charset should be set to UTF-8 to support GB18030.

      To reproduce: submit a storm topology with non ascii characters like '䶴ㄩ鼾丄狜〇'. In the UI the topology name will be displayed incorrectly with '??????' . This is applicable to bolt and spout names or anything in reponse that might have non ascii characters.

      In addition because of incorrect charset no topology actions can be performed on topoogies with nonascii character.

      Attachments

        Activity

          People

            parth.brahmbhatt Parth Brahmbhatt
            parth.brahmbhatt Parth Brahmbhatt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: