Fork me on GitHub
Subscribe 1

Ticket #544 (fixed enhancement)

FORUM_DISABLE_STRIPSLASHES

  • Created: 2011-11-29 10:43:59
  • Reported by: Franz
  • Assigned to: Franz
  • Milestone: 1.4.8
  • Component: code
  • Priority: normal

When integrating FluxBB with another software that also automatically strips slashes if PHP magic quotes are enabled (e.g. our DokuWiki), sometimes slashes are stripped twice.

Just try to insert a linebreak into one of our wiki pages. It is not simple and will be gone after the next edit.

My suggestion:
Introduce a new constant, maybe called FORUM_DISABLE_STRIPSLASHES, that will prevent FluxBB from stripping the slashes when defined, even if PHP magic quotes are enabled.

(This could then be defined in our DokuWiki FluxBB authentication bridge.)

History

Franz 2011-11-29 11:00:55

Commit 65c0650 to fluxbb fluxbb-1.4

#544: Implement FORUM_DISABLE_STRIPSLASHES constant.

Franz 2011-11-29 13:44:39

  • Status changed from open to fixed.

And done.

Franz 2011-11-29 13:59:07

It works properly on our wiki. smile

Franz 2011-11-29 22:46:06

I just updated the documentation - now the wiki is more up-to-date than our latest release smile