•  
      request #9765 Wiki escaping escape characters
    Infos
    #9765
    Jeff CLAY (jeffclay)
    2016-12-26 10:00
    2016-12-22 18:44
    10040
    Details
    Wiki escaping escape characters
    When submitting or previewing a Wiki page that has certain escapable characters, the system will keep putting backslashes behind the character. Unfortunately, it also wants to escape the backslash so you can end up with several slashes for no apparent reason.
    Doc/Wiki
    development
    CentOS 6
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2016-12-26
    Attachments
    Original text for wiki page, prior to clicking the "preview" button.
    The results after clicking "preview" from attachment 1.png. notice the escaping \ that appeared
    I clicked "preview" again and it has escaped the escape characters from 2.png.
    I clicked the "save" button from the screen of 3.png and it has once again escaped the escape characters even more.
    References

    Follow-ups

    User avatar
    Integrated into Tuleap 9.2.99.59

    • Status changed from Under review to Closed
    • Connected artifacts
    • Close date set to 2016-12-26
    User avatar
    Thomas Gerbet (tgerbet)2016-12-23 22:52
    Thanks for the screenshoots, I have been able to reproduce the issue. It is a regression that has been introduced in Tuleap 9.2.99.7 for the request #9202.

    Fix under review here: gerrit #7267.

    You can also quickly fix the issue by editing the file /etc/httpd/conf.d/php.ini, setting magic_quotes_gpc to off and then reloading or restarting Apache.

    • Status changed from New to Under review
    • Reported in version changed from 9.2 to development