Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-4135

Proxy Update endpoint returns 500 Internal error when service has hebrew chars in description

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • SaaS
    • System
    • None
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

      Steps to reproduce:

      • Create service with some Hebrew chars in description field, for instance
        תיאור
        
      • Call Proxy Update endpoint
      <- "PATCH /admin/api/services/2555417835129/proxy.json HTTP/1.1\r\nAccept: application/json\r\nContent-Type: application/json\r\nAuthorization: ****\r\nAccept-Encoding: identity\r\nUser-Agent: Ruby\r\nConnection: close\r\nHost: autotest-admin.3scale.net\r\nContent-Length: 59\r\n\r\n"
      <- "{\"proxy\":{\"api_backend\":\"https://echo-api.3scale.net:443\"}}"
      -> "HTTP/1.1 500 Internal Server Error\r\n"
      -> "Content-Type: application/json; charset=utf-8\r\n"
      -> "Date: Fri, 13 Dec 2019 13:18:23 GMT\r\n"
      -> "Strict-Transport-Security: max-age=15552000\r\n"
      -> "Vary: Accept-Encoding\r\n"
      -> "X-Request-Id: 6b1b2c2c-547c-4703-a985-8fe3c7e8629f\r\n"
      -> "X-Runtime: 0.753040\r\n"
      -> "X-Served-By: mt04\r\n"
      -> "Content-Length: 48\r\n"
      -> "Connection: Close\r\n"
      -> "\r\n"
      reading 48 bytes...
      -> "{\"status\":\"500\",\"error\":\"Internal Server Error\"}"
      

              Unassigned Unassigned
              eguzki Eguzki Astiz Lezaun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: