Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

What is x-webdoc? Why is it appearing in my Wiki notifications?

We use Server 3.0.1 on a 2012 Mac Mini running OS X 10.9.


We use the Wiki service to support an information sharing system.


The wiki lets users request notification be sent to them by email when changes are made to a page or wiki (via the Notifications options).


Our issue is that these email notifications are clearly intended to include links to the Wiki and page concerned. But in practice these links are are dead.


The reason appears to be their odd format - here is an example:

x-webdoc://4E4E1C6C-1204-41D0-9FF4-DB56D129E6A8/


Does anyone know what is going on? If you paste this link into a browser you get a request to choose an application to open the URL... But what app?


Thanks alot for any info / guidance that is avail.

Mac mini (Late 2012), OS X Server

Posted on Dec 13, 2013 3:23 AM

Reply
4 replies

Dec 30, 2013 10:48 AM in response to Gavin Lawrie

I'm jumping in because I don't want this conversation to die just yet; I met one of these myself for the first time today and performed due diligence:


I think the <x-webdoc> "link" represents a badly formed Uniform Resource Locator (URL is a type of Uniform Resource Identifier or URI), likely design automated or scripted by an internet service (wiki server), where the payload of the URI didn't get cross-referenced to anything useful due to its incorrect context or formatting. Without knowing where to find the resource identified as "4E4E1C6C-1204-41D0-9FF4-DB56D129E6A8" in context, it's just a string of random numbers. We can't even be sure it's a type of http link inside an URL, although it probably is based on your description and the <://> stuck in the middle, be it a web page, email address, or ftp download, etc.


So, you'd have to dig into the known server details and find out what's in play that generates the URI in the incorrect format. I'm guessing ignored default or script syntax error. Please correct me if I'm guessing wild.


I was hoping to understand if this style of URI actually works through a web browser on a local file system, but I didn't see any details about implementation.

Dec 31, 2013 9:11 AM in response to SkyHook17

Interesting ideas.


I'm pretty sure the "4E4E1C6C-1204-41D0-9FF4-DB56D129E6A8" is a hash code of some sort - that resolves to the web page it is trying to link to.


As for the x-webdoc bit, I think it is a URL type director - that can be assigned to / grabbed by an application - and causes the browser to root the uri content to that app. I vaguely recall Alfred using this type of link, for example.


But question is what is the app that the URL should be linked to? I suspect it is something that existed in Mountain Lion that is either not present in Mavericks, or has been reset by the updating process.


Curious asside - if you paste the URI into a browser (any browser it seems) on the server that generated the link, it crashes the browser. Weird.

Dec 31, 2013 2:37 PM in response to Gavin Lawrie

Still guessing. Please don't assume I know what I'm talking about. My first thought was also what application would satisfy Safari.


Surely possible if you suspect a hash generated on the fly, but based on the URI files I read, the standard tries to encourage permananet ID's like a serial number, attached permanently to everything worth pointing to so that the structure of storage may change but the ID remains. I imagine something like moving your favorite comics from Mom's garage to a storage unit; still Fab4 Volume/Issue URI but the location changed like a path to a file might. Maybe this involves slick search and indexing in the background so there's no work involved editing the script that publishes the link, but I'm really reaching on implementation.


On the client side though, like a mail link being programmatically directed to your own client mail tool, I doubt that any x-webdoc link would have a client-side knowledge and expect an application/handler outside the browser. Inside the browser maybe, but Safari thinks it needs a handler?


The payload, if done client side, would be fairly exotic, like the service that created the link expecting a client side ID to be available, replicated exactly as expected by the service. I can only imagine something like a web-served link expecting to identify an item on a corporate CD inserted in an available client drive, which would lead to a lot of expectations and problems. If you can recall Macromedia CD's in their heyday, catalogues and demo's and such with lots of potential but lots of fail in practice, I suspect why you don't see that kind of design very often. More likely a link generated at the service pointing to something on the same data store behind the service.


My guess includes x-webdoc was never intended for a client application as it was formatted. The links that I just met, which is why I jumped in, were inside an automated email, where many other links in the email worked fine (http, products, etc.) and looked like normal web service links, but the two in question failed and looked like the x-webdoc. They were a "Help" and "Contact" link down at the bottom. I also puttered around with those payloads at the web server address but got nowhere. I believe because the payload only exists inside a back-end database that knows the cross-references and URI, not in any addresses/links/web pages "served" by the web server.


I believe the URI was likely generated by a server-side script, PHP or the like, so that's where to look for an error in the generating of the link, not the ID. In my case, I would guess that the "x-webdoc" are default or stand-in for a link that was supposed to be context sensitive, but the generating script couldn't interpret forming it so the default was slotted in. Output error better than crashing the script, I would also guess,


Happy New Year! Here's to guessing!

Jan 1, 2014 12:59 PM in response to Gavin Lawrie

FYI: I just received a spam (or scam) well a false Mail with such a link : here it is x-webdoc://0761047D-ED86-4C4E-8F25-6F7BA1AD10D1/


it claims to comes from my old FAI ( wich is a part of my Apple ID !! )


Such an address don't show at all in Mail.app then no way to find where it leads us when clicked ( hopefully nowhere on updated browsers).

What is x-webdoc? Why is it appearing in my Wiki notifications?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.