Opened 6 months ago

Last modified 6 months ago

#6755 new defect

Persistent content blocking redirect problem

Reported by: kzar Assignee:
Priority: P2 Milestone:
Module: Platform Keywords: abp2blocklist
Cc: arthur, mjethani, sebastian, CraftyDeano Blocked By:
Blocking: Platform: Safari
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description

Environment

easylist+exceptionrules_content_blocker.json from contentblockerlists rev 329a2b195aae.
Safari 11.1, macOS High Sierra 10.13.4.

How to reproduce

  1. Make sure no Safari extensions are installed.
  2. Use the extension builder to create an empty extension.
  3. Add the content blocking list mentioned above to the extension.
  4. Install the extension, wait 10 seconds to ensure the blocking list has started working.
  5. Browse to this URL:
    https://ad.doubleclick.net/ddm/clk/293388006;120523018;w;u=ds&sv1=7731725353&sv2=3057794608038003&sv3=2378027502445129959&gclid=EAIaIQobChMI872CoOLQ2wIViVuGCh2IRwM8EAMYAyAAEgJ59PD_BwE;%3fhttps://1223.xg4ken.com/trk/v1?prof=56&camp=34668&affcode=kw7879843&kct=google&kchid=7020608390&cid=193328124474&networkType=search&kdv=c&criteriaid=kwd-12666661&adgroupid=16517050503&campaignid=232803063&locphy=2840&adpos=1o3&url=https://www.shoes.com/cgi-bin/sbref.cgi?link=google_gen&kid=4848&path=&gclid=EAIaIQobChMI872CoOLQ2wIViVuGCh2IRwM8EAMYAyAAEgJ59PD_BwE&gclsrc=aw.ds`
    

Observed behaviour

The WebKitErrorDomain:104 error message is displayed.

Expected behaviour

Safari successfully redirects to www.shoes.com via 1223.xg4ken.com. (Ignore the GDPR error.)

Notes

  • Although this is essentially the same as #4280, the difference is that whitelisting the domains in question isn't working. The first redirect to the 1223.xg4ken.com domain is blocked, despite *xg4ken.com already being whitelisted.
  • We've also tried whitelisting 1223.xg4ken.com specifically but it didn't help.
  • Here are the full URLs in question:
https://ad.doubleclick.net/ddm/clk/293388006;120523018;w;u=ds&sv1=7731725353&sv2=3057794608038003&sv3=2378027502445129959&gclid=EAIaIQobChMI872CoOLQ2wIViVuGCh2IRwM8EAMYAyAAEgJ59PD_BwE;%3fhttps://1223.xg4ken.com/trk/v1?prof=56&camp=34668&affcode=kw7879843&kct=google&kchid=7020608390&cid=193328124474&networkType=search&kdv=c&criteriaid=kwd-12666661&adgroupid=16517050503&campaignid=232803063&locphy=2840&adpos=1o3&url=https://www.shoes.com/cgi-bin/sbref.cgi?link=google_gen&kid=4848&path=&gclid=EAIaIQobChMI872CoOLQ2wIViVuGCh2IRwM8EAMYAyAAEgJ59PD_BwE&gclsrc=aw.ds
302 -> https://1223.xg4ken.com/trk/v1?prof=56&camp=34668&affcode=kw7879843&kct=google&kchid=7020608390&cid=193328124474&networkType=search&kdv=c&criteriaid=kwd-12666661&adgroupid=16517050503&campaignid=232803063&locphy=2840&adpos=1o3&url=https://www.shoes.com/cgi-bin/sbref.cgi?link=google_gen&kid=4848&path=&gclid=EAIaIQobChMI872CoOLQ2wIViVuGCh2IRwM8EAMYAyAAEgJ59PD_BwE&gclsrc=aw.ds
307 -> https://www.shoes.com/cgi-bin/sbref.cgi?link=google_gen&kid=4848&path=&gclid=EAIaIQobChMI872CoOLQ2wIViVuGCh2IRwM8EAMYAyAAEgJ59PD_BwE&gclsrc=aw.ds

Change History (2)

comment:1 Changed 6 months ago by kzar

I suspect this is a Safari bug, but I could be wrong. Either way I can't figure out how why this is happening, the fact you've already whitelisted *xg4ken.com should have prevented it.

comment:2 Changed 6 months ago by arthur

  • Cc CraftyDeano added
Note: See TracTickets for help on using tickets.