Antville Project

Saturday, 26. July 2003

Second Post Alert on Referrer bug livecatz

I put this into "help" and now here:
I have found a referrer listed as a URL that starts with http: and continues with the regular code for the URL and ends with livecatz that is very evil! If you click on the link in the referrer list, it will try to insert a whole bunch of malicious javascripts and cookies to your computer. I had to shut down and remove at least 12 malicious cookies all sex and porn links. Hopefully this word will get to the right folks with antville! This is a bad one!

link  
 

Wednesday, 23. July 2003

clock

not that it's particularly earthshattering but the antclock is running slow by about 15 minutes.

link  
 

How to log skin names I accessed to console??

Hi,

I would like to know when I click a hyperlink, what are the skins I accessed ??

Because when I translate skin into Chinese, I need to know what skin has translation error. I found this function couple hours, but I cannot find it.

link  
 

Tuesday, 22. July 2003

Polls after logging in?

I observe odd behaviour with polls. If a new user clickes on the title of a poll generated by poll id="3" or the likehe is asked to log in or register. After doing so he is not taken to the poll but to the list of polls at dom.ain/blog/polls. Shouldn't the user been taken to the 'vote booh' instead?

See blogs.23.nu for an example.

link  
 

Sunday, 20. July 2003

Just inquisitive

After creating a story to just correct a word the story does not appeal in recently modified on Antville main page. An new paragraph causes an update. Which kind of changings are shown? Where is the tolerance?

link  
 

Saturday, 19. July 2003

Antville 1.0.1 is out

and ready for download. You can find more information about the release at the Antville Project Site.

link  
 

Thursday, 17. July 2003

New function

Hallo everybody.

I've writen a function (for personal use of course) to replace invalid chars with nothing and "spaces" with "underscores".

I've added this to the global object.functions.js. I had Problems with different Browsers (on Linux :) when downloading files or images.

Its simply a copy of the regexp found in buildAliasFromFile plus the replacement of "spaces" with "underscores".

Look at the code:
/**

  • function replaces "invalid" webchars
  • @param name String the name to convert
  • @return String determined name "invalid" char free
    */

function replaceinvalidchars(name) {
// replace spaces with
var spaces = new RegExp(" ");
spaces.ignoreCase = true;
spaces.global = true;
name = name.replace(spaces,"
");
// clean name from any invalid characters
var invalidChars = new RegExp("[ \/?&=\+#äöüß\\]");
invalidChars.ignoreCase = true;
invalidChars.global = true;
return name.replace(invalidChars,"");
}

Second I added

param.alias = replaceinvalidchars(param.alias) ;

to the image and file object.functions.js. In the global object.functions.js i replaced the regexp with

line 459:
// clean name from any invalid characters
return replaceinvalidchars(name);

It's very simple maybe somebody adds it to the antville code if needed. Maybe nobody needs it.

Philipp

link  
 

The Antville Server Fund has been a great success. Thanks to everybody who contributed!
online for 5839 Days
last updated: 1/4/11 10:22 AM
status
Youre not logged in ... Login
menu
June 2017
SunMonTueWedThuFriSat
123
45678910
11121314151617
18192021222324
252627282930
July
recent
Second Post Alert on Referrer
bug livecatz I put this into "help" and now here:...
by cobalt123 (7/26/03 7:14 PM)
clock not that it's particularly
earthshattering but the antclock is running slow by about 15...
by kohlehydrat (7/23/03 8:25 PM)
How to log skin names
I accessed to console?? Hi, I would like to know...
by winson (7/23/03 4:12 PM)

Click here to get an XML version of this weblog.

Made with Antville
powered by
Helma Object Publisher