bug-librejs
[Top][All Lists]
Advanced

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

[Bug-librejs] weblabels parsing - script arguments


From: Ward Vandewege
Subject: [Bug-librejs] weblabels parsing - script arguments
Date: Wed, 24 Apr 2013 13:01:42 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

Hi all,

When librejs parses a weblabel, it matches the javascript file path
*including arguments*.

For example, if your html refers to

  http://endsoftpatents.org/wp-includes/js/comment-reply.js?ver=20090102

the entry in the weblabel needs to match that entire string.

This seems undesirable from a practical perspective - the matching should not
include arguments, instead it should stop at the question mark:

  http://endsoftpatents.org/wp-includes/js/comment-reply.js

Thoughts?

Thanks,
Ward.

-- 
Ward Vandewege             | CTO, Free Software Foundation
GPG Key: 25F774AB          | http://status.fsf.org/ward
http://fsf.org/blogs/RSS   | http://identi.ca/cure

Do you use free software? Donate to join the FSF and support freedom at
         http://www.fsf.org/register_form?referrer=859



reply via email to

[Prev in Thread] Current Thread [Next in Thread]