1
halki
Reposted over here.. Smile/textsanitizer issue
  • 2003/12/28 21:28

  • halki

  • Just popping in

  • Posts: 19

  • Since: 2003/12/27


Sorry for the repost, but I dont know if the bug section was the best place for this... and I dont see a way to move my own posts.

I have XOOPS 2.5.1 installed, with the pbboard mod (integrates PHPbb 2.0.6 into Xoop) With this mod the boards use the Xoop smiles table, and everything is working quite well, *except* on the forms used to add news and such.
For some of the smiles I get a malformed URL on the actual posting for the image file.
Right clicking on the RedX I see httpFor the Address portion it shows http://mountianshire.net/modules/news/http
Ive checked to make sure the files all exist where they belong and permissions are correct. Smiles all work great on the boards.

When it adds a smile correctly Im getting (ps this isnt a valid image just an example) http://mountainshire.net/uploads/smileyfilename.gif

OK Ive tracked the issue down to the text sanitzer, but I cant seem to figure out why some are working and some arent is this file documented in detail somewhere? What would the chances of success be if I switch out htmlspecialcharacters for htmlentities for image links?

Im about to just rip out the textarea editor and slap in htmlarea from http://www.interactivetools.com/products/htmlarea/ just so it doesnt use the sanitzer (and htmlarea looks really cool)

2
halki
Re: Reposted over here.. Smile/textsanitizer issue
  • 2003/12/30 0:47

  • halki

  • Just popping in

  • Posts: 19

  • Since: 2003/12/27


Ok I found the problem. I had a smilie with the code entry of :/ and when the sanitzer was hitting it, it freaked out since that can also be a valid part of an URL.

The other part of the problem is that I also have smile codes like :p and :s and when it gets to smile codes like :penguin: and :smack: it processes just the first part and outputs the smile for :p and then the rest of the letters enguin:

Ive gone the easy route and just changed the smile codes, but it would be nice if the sanitizer could handle them.

Ill cross post this back into the bugs forum also.

Login

Who's Online

379 user(s) are online (252 user(s) are browsing Support Forums)


Members: 0


Guests: 379


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits