[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: regexp stack overflow



>>>>>> In [emacs-w3m : No.08519] Silvio Neef wrote:

>> Wow, it appears that TWiki is sending the entire page text as part of
>> the URL when submitting changes to a page:

>>   Debugger entered--Lisp error: (error "Stack overflow in regexp matcher")
>>     string-match("\\`\\(\\([^:/?#]+\\):\\)?\\(//\\([^/?#]*\\)\\)?\\([^?#]*\\)\\(\\?\\([^#]*\\)\\)?\\(#\\(.*\\)\\)?\\'" "http://wiki/bin/preview/Main/BigWikiPage?text=---%2B%20Big%20Wiki%20Page%0D%0A%0D%0A [and so on, tens of kb of text ]
>>     w3m-expand-url("http://wiki/bin/preview/Main/BigWikiPage?text= [same here]
>>     w3m-fontify-anchors()
>>     w3m-fontify()
>>     w3m-create-text-page("http://wiki/bin/preview/Main/BigWikiPage"; "text/html" "ISO-8859-1" #<buffer *w3m*>)
>>     ...

I think I've solved the problem.  Could you try the CVS version?
You can also get it from:

http://cvs.namazu.org/emacs-w3m.tar.gz?view=tar