Oops I broke the news bot
Posted: Tue Nov 08, 2005 5:33 pm
What did I do now? Let's just say that replacing a % sign with a string that HAS a % sign in it, is not a very good idea. At least not the way my function works. It goes in an endless loop. The output looks sort of like this in debug mode:
Code: Select all
borg:/data/samba/shared/ryan/applications/news_parser# ./poster_bot.app
------Preparing to process DB entry #1
Retrieving data from raw buffer...Done
Connecting...Done
Formatting parts for http transfer preparation...
[code]
Then it sits there in a loop replacing % with %25 and %25 with %2525 and so on. I'm working on it now, hopefully this fixes it, and news posting will resume. There's also another bug in the parsing phase where there's missing spaces, this is due to the stupid way some emails are formated. (words get cut off by a
) so not sure if it will be fixable or not but I'll try to fix that while I'm at it.
[img]/attachments_legacy/it/post-5-1131489186_Untitledcopyjpg.jpg[/img]
[color=#888888][size=85]Archived topic from Iceteks, old topic ID:3926, old post ID:32160[/size][/color]