Sharpeoint 2013 has a default filter template located at:
_catalogs/masterpage/Display%20Templates/Filters/Filter_Default.js
How can I read the absolute path of the _catalogs masterpage in C# ?
Example of absolute path : http://mymachine/_catalogs/masterpage/Display%20Templates/Filters/Filter_Default.js
so, if I'll load this file in a html script element, I will not get a 404 Not found error in the browser:
<script type="text/javascript" src="http://mymachine/_catalogs/masterpage/Display%20Templates/Filters/Filter_Default.js">
</script>