This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Arbitrary ID (Outdated)
#1


I'm giving you three guesses...
Reply
#2

I have just identified a possible security threat for this code. It is recommended to not yet use it. More info on the threat can be found here: http://seancoates.com/blogs/xss-woes

I'll try to find a fix as soon as possible.
The issue has now been fixed. It is safe to download and use this code, including the source above.

I'm giving you three guesses...
Reply
#3


I'm giving you three guesses...
Reply
#4

Found a problem with the add-on. It registers "http://www.example.com/page.php" and "http://example.com/page.php" as two different pages. I'll fix that in the next version.

I'm giving you three guesses...
Reply
#5

I imagine you have a similar problem with domain.com/ and domain.com/index.php.

Have you completed the interview?
Reply
#6

Yeah, but I think that mine is much easier to fix. I'm almost done already.
For now, if anyone is having trouble with the script, add a redirect(VIA .htaccess) to your site with www in front of it.
Example:
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yoursite.com [NC]
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301]
as seen on http://www.webweaver.nu/html-tips/web-redirection.shtml

I'm giving you three guesses...
Reply
#7

Another solution is replacing $_SERVER['HTTP_HOST'] with "www.yoursite.com" in the add-on, and in the include script. This means that you don't have to use .htaccess for this. I'm working on another solution right now.

I'm giving you three guesses...
Reply
#8

I post this as new thread , as the original thread is almost FIXED
I wonder, why Commentics is catching the following pages
I found them at ACP ---> Manage --> pages
Code:
http://falsafa.info/bonheur-c.php?test=1
http://falsafa.info/bonheur-c.php/errors.php
http://falsafa.info/bonheur-c.php/img/pen_pencil.gif
http://falsafa.info/bonheur-c.php/
http://falsafa.info/bonheur-c.php/errors.php?error=lol
For example, why gif images are stored as "Pages" !?
Where the errors.php file come from? I have no such page in my web site directory? I think Commentics should reject any non existent URL
Reply
#9

The above post has been moved here because it's a bug related to this add-on and not Commentics itself.

Have you completed the interview?
Reply
#10

sorry i get this problem

Fatal error: Call to undefined function sanitize() in /home/../public_html/comments/includes/commentics.php on line 51

in this line

$current_page_url = sanitize($current_page_url,1,1,1);

so can you help me to fix it ..

thanx
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
15-Mar-2011, 12:32 PM
Last Post by Static
31-Dec-2010, 08:09 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)