When creating new content of any kind, any number sequence typed into the body text field automatically turns to 555-5555. If the number is longer than 7 digits like 123456789, it will change to 555-555589. I have searched the net up and down and cannot find any fix for this issue. Can someone please help.
* What are the steps required to reproduce the bug?
Enter any numbers, 7 digits or more into a body field to create new content and preview content or save and post content.
* What behavior were you expecting?
The numbers should stay the same as you enter them.
* What happened instead?
All numbers change to 5's
This can be tested on my site at www.overallidea.com
Comments
Comment #1
mikey_p commentedCould you post a list of all the modules you have installed?
Comment #2
overallidea commentedOkay, I have quite a few, Here they are:
Abuse, Advanced help, Aggregator, Audio Attach, Audio iTunes, Avatar Selection, Blockquotes, Blog API, Book Manager, Comment, Content, Database logging, Filter, Flag, FlashVideo, getID3, Image, Image Import, Jquery Menu, Locale, Messaging, Mime Mail, Notifications, Taxonomy Notifications, Panels exporter, Panel nodes, Panel pages, Path, PHPMailer, Poormanscron, Privatemsg filter, Search, Statistics advanced settings, System, Taxonomy router, Terms of Use, Content translation, Update status, User, User Stats, Views exporter, watchlist, AddToAny, Advanced Profile Kit, Audio, Audio Import, Audio Playlist, Block, Blog, Book, CAPTCHA, Contact, Content Permissions, Feedburner, Fivestar, Flag friend, Forum, internationalization, Image Gallery, Image assist, Link To Us, Menu, Message notifications, Node, Content Notifications, Panels, Mini panels, Node panes, Views panes, phpFreeChat, Poll, Private messages, Revisions RSS, Statistics, Syslog, Taxonomy, Advanced Taxonomy Blocks, Throttle, Twitter, Upload, User List, Views, Voting API, XML Sitemap
Thanks for your help!
Comment #3
ka0osk commentedThis is still a major problem, as the usual case is that a number in a URL anywhere in the field will always turn to 555-5555.
Is someone working on this? It is a bitch to have to ascii code every number.
Comment #4
overallidea commentedNo one is working on this yet. I thought I was the only one with this problem. Also along with the phone numbers changing to 5's, I have noticed the email addresses, in my content, all change to xxxxx@xxxxx.com. Will someone please help us out?
Comment #5
overallidea commentedComment #6
overallidea commentedIs there anyone out there that knows enough about Drupal to help us solve this problem. It seems the one person that responded didn't know as much as they thought.
Comment #7
sun.core commentedThis issue is not caused by Drupal core. Most probably, one of your installed contributed or custom programmed modules is guilty.
Comment #8
queenbeenz commentedHi
I'm a non-developer and total newbie, and I spent hours trying to fix the same problem. I finally went to Admin > configuration > Input Filters. I de-selected the "bad words" option there and all came right. I can't remember which module added this but suspect it might have been Abuse.
Comment #9
dafederIt's the watchlist module, part of abuse. Very annoying that it has no option to turn this off, I think most people would not want it as it can mess up links, filenames, etc.
Comment #10
dafederComment #11
overallidea commentedThanks for all your help. I did get it fixed. I'm not quite sure which step actually fixed it and did not bother doing process of elimination to find out. I was just glad to get this one finished. I disabled the Watchlist Mod completely, like "dafeder" suggested, and then, like "queenbeenz" suggested, went to Admin.-Site Config.-Input Formats-Filtered HTML and turned off URL Filter, HTML Filter and HTML Correction. Which ever step repaired the issue, I have no idea.
Thanks again,
Now if someone could help me find out why I get the "White Page Of Death" when trying to get to my Navigation Admin page.
Comment #12
dafederI'm glad your site is working overallidea but don't agree with all the changes to this ticket. There is no question that this is the abuse/watchlist module. It's a function callled _watchlist_filter_phone() in watchlist.module, line 56. The issue has not been fixed or rejected by the module maintainer. So I'm re-labeling this as abuse project and setting to Feature Request.
Can we have an option to turn off the telephone filter specifically? Thanks.
Comment #13
buzzman commentedi believe there's good reason for these 2 functions to exist in the module. this is so that user's don't inadvertantly display PRIVATE data such as phone and email addresses in the body of any content which has been chosen to be filtered by this module (set in "abuse" admin settings).
having said that, if some of you feel this is a pain unless these options are made available as user selectable in the settings area, the easiest way to resolve this issue is like so:
- pull up watchlist.module in a PHP editor (find in it's own folder inside the abuse module folder)
- swap-in the code-snip below (affects the phone | email functions):
and voila ... problem solved ... ;-)
Comment #14
queenbeenz commentedThanks buzzman. I agree about privacy for users. The problem I had was it also changed contact information for the site which users need to have. Maybe I missed a configuration setting (?) but it seemed the only way to get our users to see our own phone number was as per my previous post. When I have some time I will take another look - thanks for the snip.
Comment #15
buzzman commentedtrying to solve this issue actually helped me find another bug in there :-) ... more below:
@ queenbeenz:
"Maybe I missed a configuration setting (?)"
- nope you didn't. there is no admin config available for phone/email filtering.
"The problem I had was it also changed contact information for the site which users need to have."
- the module does not touch content in areas outside of the content types chosen to be filtered. case in point is that the "title" of a post is not shown filtered like the body. although the node would be flagged by watchlist ok.
to replicate try this: input some bad words (these should already be in your watchlist list of words) into the title as well as the body of any simple content-type of a new node that you create. you will then notice that while the bad words in the body would be starred-out when you view the new post (if you choose to star in the settings page), the title with the bad words will be untouched (bug), body text will be filtered (ok) and the node would be flagged correctly.
this happens cuz the title is appended to the body before the filter is applied but the result of the filtered title is not sent back/updated - this is a bug.
so bottomline: apply the snip I posted above and your phone/email problem will be gone for good - it's a safe workaround and will not break anything whatsoever.
I'm off to post the above bug and some more related feature requests in the next post. keep tuned-in cuz maybe you'd have a use for these later :-)
chirio