rajat1994 / google-app-engine-samples

Automatically exported from code.google.com/p/google-app-engine-samples
0 stars 0 forks source link

Many problems with cccwiki #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. Version control? User control? If someone vandalizes my site, I'd have to 
write everything from 
scratch without version control. And if I can't ban certain users then there's 
no protection against 
them doing it again.

2. No sanitization. I can just switch to html view and enter in some javascript 
on a link. That 
might not be too much of a problem, but it's a small detail that could prove 
deadly.

3. Broken wikiword feature. What if I want my own word or phrase to denote a 
link to another 
article? I could switch to html view and insert my own link. But for some 
reason I end up getting 
something like this:
<a href="/<a class="wikiword" href="/MyArticle">MyArticle</a>">
This problem could probably be fixed by altering a regular expression 
somewhere. But is that 
really the issue? What if the word just happens to be the same as one of my 
wikiwords, but I'm 
using it in a completely different context? I need to have control over which 
words are linked.

Is cccwiki intended for production?

Original issue reported on code.google.com by genius.w...@gmail.com on 16 May 2010 at 3:22

GoogleCodeExporter commented 9 years ago
I didn't expect to have problems with this already, but my requests are already 
taking over a second. I've isolated 
the issue to the wikiwords feature. It was worsened by the fact that I altered 
the regular expression for matching 
wikiwords (to also match words that only contained one capital letter, then to 
also match words that have 2 or 
more capitals in a row).

All these issues render cccwiki unusable. Anyone looking for a 
production-worthy wiki should check out Moe.

http://code.google.com/p/moe/

Original comment by genius.w...@gmail.com on 17 May 2010 at 4:03