Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2012
    Posts
    209
    Plugin Contributions
    1

    Idea or Suggestion chrome-err-blocked-by-xss-auditor

    Chrome version 71 and zencart 156a .

    there is some raw data in product description .

    This code <?php echo header('X-XSS-Protection:0'); ?> at product page not working

    This code at . htaccess

    # Protection against XSS (Cross-Site Scripting)
    Header set X-XSS-Protection "0"

    or

    # Protection against XSS (Cross-Site Scripting)
    Header set X-XSS-Protection "1; mode=block

    Not working . Everything fine in firefox but not in chrome . client want to sue chrome only , how to fix , it.

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,474
    Plugin Contributions
    88

    Default Re: chrome-err-blocked-by-xss-auditor

    See this posting for additional information: https://www.zen-cart.com/showthread....ue-XSS-Auditor

  3. #3
    Join Date
    Apr 2012
    Posts
    209
    Plugin Contributions
    1

    Idea or Suggestion Re: chrome-err-blocked-by-xss-auditor

    Quote Originally Posted by lat9 View Post
    See this posting for additional information: https://www.zen-cart.com/showthread....ue-XSS-Auditor
    Thanks a lot.
    Have tried those ways before posting . But those changes not solve the issue .

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: chrome-err-blocked-by-xss-auditor

    Quote Originally Posted by diptimoy View Post
    there is some raw data in product description .
    That is your problem.
    So, what is it, and why are you doing that?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Apr 2012
    Posts
    209
    Plugin Contributions
    1

    Idea or Suggestion Re: chrome-err-blocked-by-xss-auditor

    Quote Originally Posted by DrByte View Post
    Quote Originally Posted by diptimoy View Post
    there is some raw data in product description .
    That is your problem.
    So, what is it, and why are you doing that?

    I am upgrading from 1.5.4 to 1.5.6a . the data is already there. I am not entering anything new there.

  6. #6
    Join Date
    Apr 2012
    Posts
    209
    Plugin Contributions
    1

    Idea or Suggestion Re: chrome-err-blocked-by-xss-auditor

    The code is like

    Code:
    <dl><dt>
    <a rel ="something"  name="something" id="something" href=Javascript:void(0) class="something" >Something...</a>
    </dt>
    </dl>

  7. #7
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: chrome-err-blocked-by-xss-auditor

    You didn't say "why" you're doing that.
    I gather your "javascript:void" call is intended to just disable the link so it's not clickable?

    Instead of using "javascript:void(0)", does using "#" work?
    How about just using CSS to style it to "look like a link" instead of actually using an "<a href>" link at all?


    I'd be very surprised if this had anything to do with v1.5.6. The same problem would occur in v1.5.4 in Chrome.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Apr 2012
    Posts
    209
    Plugin Contributions
    1

    Idea or Suggestion Re: chrome-err-blocked-by-xss-auditor

    Quote Originally Posted by DrByte View Post
    You didn't say "why" you're doing that.
    I gather your "javascript:void" call is intended to just disable the link so it's not clickable?

    Instead of using "javascript:void(0)", does using "#" work?
    How about just using CSS to style it to "look like a link" instead of actually using an "<a href>" link at all?


    I'd be very surprised if this had anything to do with v1.5.6. The same problem would occur in v1.5.4 in Chrome.

    " You didn't say "why" you're doing that. "

    I want to say that it was there while there already in the db when I get the file in 1.5.4 and want to upgrade to 1.5.6a .
    As a developer I mostly use firefox so not aware of that chrome issue .

    I told teh client to think of other option buy client want to stick to it and always says that it was running fine earlier and don't want to change it . I have no valid argument to convince him to fix keeping the code same and fix the issue . That's why asked for help .

    its not my software , what can i do if the owner don't want the change the way. :)

    Thanks for the help , I will again convince him the css way

 

 

Similar Threads

  1. Chrome problem with You tube; not a Zen Cart issue, XSS Auditor
    By marton_1 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 13 Apr 2017, 04:24 PM
  2. Replies: 10
    Last Post: 22 Jan 2016, 05:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR