<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014-04-13 15:41 GMT+02:00 Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info" target="_blank">marc@infomarc.info</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Le 2014-04-13 09:30, Hugues Peccatte a écrit :<br>
<div class="">> Hi,<br>
><br>
> I'm working on bug ticket <a href="http://sourceforge.net/p/phpmyadmin/bugs/3733/" target="_blank">http://sourceforge.net/p/phpmyadmin/bugs/3733/</a><br>
> I already replaced all & in PHP files by the separator defined in php.ini.<br>
<br>
</div>Hugues,<br>
are you using PMA_URL_getArgSeparator() ?<br></blockquote><div><br></div><div>Yes, I used it everywhere. Even to give the value to Javascript. (I've another question about this, but I would like to solve this problem first.)</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=""><br>
> I also replaced a part of & in JS files (almost all). But I still have<br>
> an issue… with Jquery method $.get…<br>
><br>
> This method have many parameters, and one could be a JSON object of URL<br>
> parameters.<br>
> Something like this:<br>
> var params = {<br>
> aPath: $expandElem.find('span.aPath').text(),<br>
> vPath: $expandElem.find('span.vPath').text()<br>
> };<br>
> And this:<br>
> $.get(url, params, function (data) {<br>
> …<br>
> });<br>
><br>
> Imagine that you set the arg_separator to "|" in your php.ini, the<br>
> result will be:<br>
> - initial URL: <a href="http://myurl.com/mypage.php?p1=v1|p2=V2" target="_blank">http://myurl.com/mypage.php?p1=v1|p2=V2</a><br>
> - params: var params = {<br>
> p3: "v3",<br>
> p4: "v4"<br>
> };<br>
> - generated URL: <a href="http://myurl.com/mypage.php?p1=v1|p2=V2&p3=v3|p4=v4" target="_blank">http://myurl.com/mypage.php?p1=v1|p2=V2&p3=v3|p4=v4</a><br>
><br>
> As you can see, there is a & between the initial URL and the added<br>
> parameters…<br>
><br>
> Do you know a way to manage the arg_separator used by Jquery please?<br>
><br>
> Thanks a lot !<br>
> Hugues.<br>
></div>
--<br>
Marc Delisle<br></blockquote><div><br></div><div>Hugues. </div></div></div></div>