• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

to http://twiki.org/cgi-bin/view/Codev/Captcha , i tried adding the following text in the comment box:

perl implementation - http://skriptke.ltn.net/hv/en.htm

which produced the following:

http://twiki.org/cgi-bin/oops/Codev/Captcha?template=oopsattention;def=save_error;param1=Invalid%20%5b%5d%20range%20%22_-%5c.%22%20in%20regex%3b%20marked%20by%20%3c--%20HERE%20in%20m/http://%5b%5cw%5c.%5c-:%5c%40/%5d*%3f((.*gui.*%7c.*chai%3fr.*%7c.*lamp.*%7c.*cook.*%7c.*visa.*)%5c.white%5c.prohosting%5c.com%7c(%5b%5cw%5c-_.%5d%2b%5c.)%3f(l(so%7cos)tr)%5c.%5ba-z%5d%7b2%2c%7d%7c(allmed%7ccomeds)%5c.blogs%5c.eurosport%5c.com%7c(alprazolam%7cambien%7cdiazepam%7cvalium%7cxanax%7czolpidem)%5c.daj%5c.pl%7c(alprazolam%7cviagra%7cxanax).*%5c.blogspot%5c.com%7c(asiangirlss%7cchickens%7cfreeadult69%7cjapanesegirl%7cmatures%7conlybestsex%7csexgirls%7csupergirls%5cd*%7cwiki%7cwikipedia)%5c.servik%5c.com%7c(augmentin%7cpainmed%7cbontril%7cbetting).*%5c.tripod%5c.com%7c(blow)%5b%5cw%20at%20/home/twiki/lib4/TWiki/Plugins/BlackListPlugin.pm%20line%20271.%0a%20at%20/home/twiki/lib4/TWiki/Plugins/BlackListPlugin.pm%20line%20271%0a%09TWiki::Plugins::BlackListPlugin::beforeSaveHandler('%META:TOPICINFO%7bauthor%3d%22PeterThoeny%22%20date%3d%221140126246%22%20format...'%2c%20'Captcha'%2c%20'Codev'%2c%20'TWiki::Meta%3dHASH(0xc03574)')%20called%20at%20/home/twiki/lib4/TWiki/Plugin.pm%20line%20225%0a%09TWiki::Plugin::invoke('TWiki::Plugin%3dHASH(0x99f3c0)'%2c%20'beforeSaveHandler'%2c%20'%META:TOPICINFO%7bauthor%3d%22PeterThoeny%22%20date%3d%221140126246%22%20format...'%2c%20'Captcha'%2c%20'Codev'%2c%20'TWiki::Meta%3dHASH(0xc03574)')%20called%20at%20/home/twiki/lib4/TWiki/Plugins.pm%20line%20303%0a%09TWiki::Plugins::_dispatch('TWiki::Plugins%3dHASH(0xd999c)'%2c%20'beforeSaveHandler'%2c%20'%META:TOPICINFO%7bauthor%3d%22PeterThoeny%22%20date%3d%221140126246%22%20format...'%2c%20'Captcha'%2c%20'Codev'%2c%20'TWiki::Meta%3dHASH(0xc03574)')%20called%20at%20/home/twiki/lib4/TWiki/Plugins.pm%20line%20617%0a%09TWiki::Plugins::beforeSaveHandler('TWiki::Plugins%3dHASH(0xd999c)'%2c%20'%META:TOPICINFO%7bauthor%3d%22PeterThoeny%22%20date%3d%221140126246%22%20format...'%2c%20'Captcha'%2c%20'Codev'%2c%20'TWiki::Meta%3dHASH(0xc03574)')%20called%20at%20/home/twiki/lib4/TWiki/Store.pm%20line%20794%0a%09TWiki::Store::saveTopic('TWiki::Store%3dHASH(0x7c5fa0)'%2c%20'TWiki::User%3dHASH(0xb4f524)'%2c%20'Codev'%2c%20'Captcha'%2c%20'---%2b%20Captcha%5cx%7ba%7d%5cx%7ba%7dCaptcha%20stands%20for%20%22%3cb%3eC%3c/b%3eompletely%20%3cb%3eA%3c/b%3eu...'%2c%20'TWiki::Meta%3dHASH(0xc03574)'%2c%20'HASH(0xc03550)')%20called%20at%20/home/twiki/lib4/TWiki/UI/Save.pm%20line%20463%0a%09TWiki::UI::Save::__ANON__()%20called%20at%20/home/twiki/lib4/CPAN/lib/Error.pm%20line%20387%0a%09eval%20%7b...%7d%20called%20at%20/home/twiki/lib4/CPAN/lib/Error.pm%20line%20379%0a%09Error::subs::try('CODE(0x53986c)'%2c%20'HASH(0xc03b08)')%20called%20at%20/home/twiki/lib4/TWiki/UI/Save.pm%20line%20471%0a%09TWiki::UI::Save::save('TWiki%3dHASH(0x23c08)')%20called%20at%20/home/twiki/lib4/TWiki/UI.pm%20line%2097%0a%09TWiki::UI::__ANON__()%20called%20at%20/home/twiki/lib4/CPAN/lib/Error.pm%20line%20387%0a%09eval%20%7b...%7d%20called%20at%20/home/twiki/lib4/CPAN/lib/Error.pm%20line%20379%0a%09Error::subs::try('CODE(0xc539d4)'%2c%20'HASH(0xc0304c)')%20called%20at%20/home/twiki/lib4/TWiki/UI.pm%20line%20146%0a%09TWiki::UI::run('CODE(0x745dbc)')%20called%0a

Error saving topic During save of Codev.Captcha an error was found by the version control system. Please notify your TWiki administrator.

=Invalid [] range "_-\." in regex; marked by <-- HERE in m/http://[\w\.\-:\@/]*?((.*gui.*|.*chai?r.*|.*lamp.*|.*cook.*|.*visa.*)\.white\.prohosting\.com|([\w\-_.]+\.)?(l(so|os)tr)\.[a-z]{2,}|(allmed|comeds)\.blogs\.eurosport\.com|(alprazolam|ambien|diazepam|valium|xanax|zolpidem)\.daj\.pl|(alprazolam|viagra|xanax).*\.blogspot\.com|(asiangirlss|chickens|freeadult69|japanesegirl|matures|onlybestsex|sexgirls|supergirls\d*|wiki|wikipedia)\.servik\.com|(augmentin|painmed|bontril|betting).*\.tripod\.com|(blow)[\w at /home/twiki/lib4/TWiki/Plugins/BlackListPlugin.pm line 271. at /home/twiki/lib4/TWiki/Plugins/BlackListPlugin.pm line 271 TWiki::Plugins::BlackListPlugin::beforeSaveHandler('%META:TOPICINFO{author="PeterThoeny" date="1140126246" format...', 'Captcha', 'Codev', 'TWiki::Meta=HASH(0xc03574)') called at /home/twiki/lib4/TWiki/Plugin.pm line 225 TWiki::Plugin::invoke('TWiki::Plugin=HASH(0x99f3c0)', 'beforeSaveHandler', '%META:TOPICINFO{author="PeterThoeny" date="1140126246" format...', 'Captcha', 'Codev', 'TWiki::Meta=HASH(0xc03574)') called at /home/twiki/lib4/TWiki/Plugins.pm line 303 TWiki::Plugins::_dispatch('TWiki::Plugins=HASH(0xd999c)', 'beforeSaveHandler', '%META:TOPICINFO{author="PeterThoeny" date="1140126246" format...', 'Captcha', 'Codev', 'TWiki::Meta=HASH(0xc03574)') called at /home/twiki/lib4/TWiki/Plugins.pm line 617 TWiki::Plugins::beforeSaveHandler('TWiki::Plugins=HASH(0xd999c)', '%META:TOPICINFO{author="PeterThoeny" date="1140126246" format...', 'Captcha', 'Codev', 'TWiki::Meta=HASH(0xc03574)') called at /home/twiki/lib4/TWiki/Store.pm line 794 TWiki::Store::saveTopic('TWiki::Store=HASH(0x7c5fa0)', 'TWiki::User=HASH(0xb4f524)', 'Codev', 'Captcha', '---+ Captcha\x{a}\x{a}Captcha stands for "Completely Au...', 'TWiki::Meta=HASH(0xc03574)', 'HASH(0xc03550)') called at /home/twiki/lib4/TWiki/UI/Save.pm line 463 TWiki::UI::Save::__ANON__() called at /home/twiki/lib4/CPAN/lib/Error.pm line 387 eval {...} called at /home/twiki/lib4/CPAN/lib/Error.pm line 379 Error::subs::try('CODE(0x53986c)', 'HASH(0xc03b08)') called at /home/twiki/lib4/TWiki/UI/Save.pm line 471 TWiki::UI::Save::save('TWiki=HASH(0x23c08)') called at /home/twiki/lib4/TWiki/UI.pm line 97 TWiki::UI::__ANON__() called at /home/twiki/lib4/CPAN/lib/Error.pm line 387 eval {...} called at /home/twiki/lib4/CPAN/lib/Error.pm line 379 Error::subs::try('CODE(0xc539d4)', 'HASH(0xc0304c)') called at /home/twiki/lib4/TWiki/UI.pm line 146 TWiki::UI::run('CODE(0x745dbc)') called =

Go back in your browser and save your changes locally.

-- WN


This also happend during save of TWiki:Codev.TWikiBreadcrumbsArent (also without using the comment box).

AC

This should be fixed now. Was an error in a spam list regex.

-- PTh

This happens ~1 time per month I believe. If it is not too expensive perhaps a check in the routine updating the regex could be inserted to check the new one for validity before replacing the old? Sorry if this is already being investigated.

-- SP

ItemTemplate
Summary invalid regex on save
ReportedBy TWiki:Main.WillNorris
Codebase ~twiki4
SVN Range Wed, 12 Jul 2006 build 11001
AppliesTo Extension
Component BlackListPlugin
Priority Normal
CurrentState Closed
WaitingFor

Checkins

TargetRelease n/a
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-07-16 - SteffenPoulsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback