bugLibreJS - Bugs: bug #50456, Whitelisterror parsing? They are...

 
 

bug #50456: Whitelisterror parsing? They are correctly listed in the web label

Submitted by:  Jorge <jorgesumle>
Submitted on:  Sat 04 Mar 2017 11:39:13 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned to: zach wick <zwick>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 26 Mar 2017 04:26:47 PM UTC, comment #5:

Sorry, I filed the bug wrongly. As you can see in the picture, the error is:

error parsing: 14aa5a3b25db94a6236429db21ecd6feb5c222c
http://www.freakspot.net/js/asciinema-player.js

(file #40152)

Jorge <jorgesumle>
Sun 26 Mar 2017 04:12:58 PM UTC, comment #4:

I fix the problem with function.js. I was calling the .js file instead of the .min.js: https://notabug.org/Freak-Spot/Freak-Spot/commit/88d0ea632f1eead1a5f078cef7967063a181f345

But I thing the problem with Whitelist error still persists. See the capture I just attached.

(file #40151)

Jorge <jorgesumle>
Sun 26 Mar 2017 04:12:17 PM UTC, comment #3:

I fix the problem with function.js. I was calling the .js file instead of the .min.js: https://notabug.org/Freak-Spot/Freak-Spot/commit/88d0ea632f1eead1a5f078cef7967063a181f345

But I thing the problem with Whitelist error still persists. See the capture I just attached.

(file #40150)

Jorge <jorgesumle>
Sun 26 Mar 2017 02:01:56 PM UTC, comment #2:

Checking the URL that you've listed [0], I don't see the same whitelist errors that you mentioned. Instead, I see that there is a script [1] that is being blocked by LibreJS because it is not listed in your weblabels table [2].

It appears that in your weblabels table [2], for your functions.js script, you have the first and third columns swapped. As you can read in the weblabels doc [3], the first column must be a script tag that is the same as the script tag(s) in your site. The third column is to be a script tag that points to the Javascript's source code.

I'm going to mark this bug report as 'Invalid' because I believe that the issue is in your weblabels table. If I've misunderstood your issue, please do let me know and I'm happy to reopen this issue and dig into this more.

[0] http://www.freakspot.net/creacion-de-archivos-de-autocompletado-en-bash/
[1] http://www.freakspot.net/theme/js/functions.js
[2] http://www.freakspot.net/pages/librejs.html
[3] https://www.gnu.org/licenses/javascript-labels.html

zach wick <zwick>
Project AdministratorIn charge of this item.
Sun 12 Mar 2017 03:23:35 PM UTC, comment #1:

jquery wasn't correctly listed in the web label, but asciinema-player is (my mistake). Maybe the error message for a JS whose URL is wrong should be more explanatory.

I still don't know which is the cause of the Whitelisterror parsing: 14aa5a3b25 for asciinema-player.js.

Jorge <jorgesumle>
Sat 04 Mar 2017 11:39:13 AM UTC, original submission:

I used LibreJS to test my website, and it blocks jQuery and asciinema-player.js, although they are correctly defined in the web label. They is a whitelisterror parsing, I'm not sure what's that.

List of blocked JavaScript in http://www.freakspot.net/creacion-de-archivos-de-autocompletado-en-bash/

Whitelisterror parsing: 38e82b4f24
http://www.freakspot.net/theme/js/jquery-3.1.1.js
Whitelisterror parsing: 14aa5a3b25
http://www.freakspot.net/js/asciinema-player.js
WhitelistNONTRIVIAL: square bracket suffix method call detected
http://www.freakspot.net/hashover-next/scripts/hashover-javascript.php?url=http%3A%2F%2Fwww.freakspot.net%2Fcreacion-de-archivos-de-autocompletado-en-bash%2F&title=Creaci%C3%B3n%20de%20archivos%20de%20autocompletado%20en%20Bash&hashover-script=3

Web Labels pages being used for this session

http://www.freakspot.net/pages/librejs.html

Jorge <jorgesumle>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by zwick (Posted a comment)
  • -unavailable- added by jorgesumle (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 26 Mar 2017 04:26:47 PM UTCjorgesumleAttached File-=>Added Captura de pantalla de 2017-03-26 18:08:08.png, #40152
    Sun 26 Mar 2017 04:12:58 PM UTCjorgesumleAttached File-=>Added Captura de pantalla de 2017-03-26 18:08:08.png, #40151
    Sun 26 Mar 2017 04:12:17 PM UTCjorgesumleAttached File-=>Added Captura de pantalla de 2017-03-26 18:08:08.png, #40150
    Sun 26 Mar 2017 02:01:56 PM UTCzwickStatusNone=>Invalid
      Assigned toNone=>zwick
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1