Hi! You may need to disable the SpamFilter first. It's specifically designed to prevent scripted posts.
/Janne On 11 Jul 2011, at 20:11, naxos wrote: > > I have a shell script that should generate the wiki page in a n automated > manner. > > The problem I have is after I authenticate I'm getting an error: > Oops! Someone modified the page while you were editing it! > > Is there a way to autmate this using bash scripting? > > Thanks. > > > Step 1: > > curl -k -c cookie.txt \ > --user-agent "Mozilla/4.0 POST" \ > -d > "page=Junk&action=save&encodingcheck=%E3%81%81&addibu=287181305&ok=Save&submit_auth=&changenote=&tbFIND=&tbREPLACE=&tbGLOBAL=on&_editedtext=abc" > \ > http://example.com/wiki/Edit.jsp?page=Junk -v > > Step 2: > > curl --location --cookie cookie.txt --cookie-jar \ > cookie.txt --user-agent "Mozilla/4.0 POST" \ > --data "j_username=orailean&j_password=0l1.V3r.S0r.1n%21" \ > http://adminint.muc.ecircle.de/qawiki/j_security_check -v > > Step 3: > ERROR > > -- > View this message in context: > http://old.nabble.com/POST-request-to-Edit.jsp-tp32039449p32039449.html > Sent from the JspWiki - User mailing list archive at Nabble.com.
