After reading and seeing the samples here
Given the example of uri :
http://a/b/c/d;p?q
redirecting to "g" will redirect me to http://a/b/c/g ( cause c is the directory)
So I ask myself when should i use ./g
It is actually the same [goto current folder and find g]
so Why this syntax is even exists ? ./ when should I use it ?
I’d put it this way:
There is no special reason why this construct exists (or was created/defined). It simply exists because it is a logical combination of other constructions (
.,/,/g) that are required and thus defined out of other reasons. Since those constructions (path components here) can be combined more or less without limitation the questionable constrcut./gis well defined and thus valid. But that does not mean that there must be special reason why exactly this construct was or has to be defined.