[ 
https://issues.apache.org/jira/browse/SHINDIG-1635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan Baxter resolved SHINDIG-1635.
----------------------------------

    Resolution: Won't Fix

Moved PHP to attic so we are closing this issue for now

> Broken javascript after proxy
> -----------------------------
>
>                 Key: SHINDIG-1635
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1635
>             Project: Shindig
>          Issue Type: Bug
>          Components: PHP
>    Affects Versions: 2.5.0-beta1
>            Reporter: Igor Semenko
>            Priority: Critical
>              Labels: gwt-gadgets
>             Fix For: 2.5.1
>
>
> I'm using google's gwt-gadgets library in gadget development. Generated 
> javascript may contain construction like this:
> {code}
> $replace(SQUOT_RE, s, ''')
> {code}
> When this javascript is going thru proxy, it gets broken
> {code}
> $replace(SQUOT_RE, s, ''') // 3 apostrophes
> {code}
> 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:
> {code}
>   && strpos($result->getContentType(), 'javascript') == false) {
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to