Page 1 of 1

Source URL/Address

PostPosted: Mon Oct 02, 2017 5:39 pm
by mattberther
Background:
macOS Sierra 10.12.6
Hazel 4.2.1

Scenario:
I have a rule that states Source URL/Address is from domain example.com. When I download a file from this domain, the Hazel rule does not trigger. However, the following command clearly shows the URL includes the appropriate domain. Also, worth noting, running the rule preview from within Hazel does not show the Source URL/Address field.
Code: Select all
xattr -lp com.apple.metadata:kMDItemWhereFroms document.pdf

These rules worked flawlessly for years until very recently. Any thoughts on what might be causing this issue?

Re: Source URL/Address

PostPosted: Tue Oct 03, 2017 10:42 am
by Mr_Noodle
Can you show the output of that command?

Re: Source URL/Address

PostPosted: Tue Oct 03, 2017 12:48 pm
by mattberther
Code: Select all
matt:$ xattr -lp com.apple.metadata:kMDItemWhereFroms pdf.pdf
com.apple.metadata:kMDItemWhereFroms:
00000000  62 70 6C 69 73 74 30 30 A2 01 02 5F 10 25 68 74  |bplist00..._.%ht|
00000010  74 70 3A 2F 2F 77 77 77 2E 70 64 66 39 39 35 2E  |tp://www.pdf995.|
00000020  63 6F 6D 2F 73 61 6D 70 6C 65 73 2F 70 64 66 2E  |com/samples/pdf.|
00000030  70 64 66 5F 10 25 68 74 74 70 3A 2F 2F 77 77 77  |pdf_.%http://www|
00000040  2E 70 64 66 39 39 35 2E 63 6F 6D 2F 73 61 6D 70  |.pdf995.com/samp|
00000050  6C 65 73 2F 70 64 66 2E 70 64 66 08 0B 33 00 00  |les/pdf.pdf..3..|
00000060  00 00 00 00 01 01 00 00 00 00 00 00 00 03 00 00  |................|
00000070  00 00 00 00 00 00 00 00 00 00 00 00 00 5B        |.............[|
0000007e
matt:$

Re: Source URL/Address

PostPosted: Wed Oct 04, 2017 10:17 am
by Mr_Noodle
If the file doesn't contain any sensitive info, can you compress it in Finder and email it in to support?

Re: Source URL/Address

PostPosted: Wed Oct 04, 2017 12:24 pm
by mattberther
Noting here for posterity. This turned out to be an issue with a corrupted Spotlight index. Rebuilding the Spotlight index resolved these problems for me.