Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Won't Fix
    • Affects Version/s: 2.5.0-beta1
    • Fix Version/s: 2.5.1
    • Component/s: PHP
    • Labels:

      Description

      I'm using google's gwt-gadgets library in gadget development. Generated javascript may contain construction like this:

      $replace(SQUOT_RE, s, ''')
      

      When this javascript is going thru proxy, it gets broken

      $replace(SQUOT_RE, s, ''') // 3 apostrophes
      

      The script is served as "text/javascript" content type.

      What helped for me is disabling content modification in php/src/gadgets/MakeRequest.php line 119:

        && strpos($result->getContentType(), 'javascript') == false) {
      

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Igor Semenko
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development