On 8/27/05, joshua schachter <[EMAIL PROTECTED]> wrote: > I hold it as some sort of sin to mangle the user's submitted data. So > we will not irrecoverably change your url if at all possible (modulo > the dangerous# thing.) > > I think what people are actually talking about are a) if you > bookmarked www.xyz.com/index.html and if you try to submit xyz.com/ > some other time, it should somehow catch that and b) correctly > showing the "and n other people" stuff. I believe the second can be > accomplished easily enough, but a) is quite dangerous. > > In general the transformations are: > 1) remove leading www. from host > 2) remove trailing #fragment > 3) remove trailing index.(html|shtml|php) >
Sometimes a url with and without the leading www. gives you different things. I don't know how frequent this is though. Amir > I plan to add something like this, but it will not go in until it is > properly thought through. > > Joshua > > On Aug 26, 2005, at 6:42 PM, Andrew Ducker wrote: > > > Brian Lalor wrote: > > > > > >> On Aug 26, 2005, at 12:01 PM, Stephen Paul Weber wrote: > >> > >> > >>> I would like to point out that changing it to 'www' instead of > >>> removing the 'www' would be the more logical choice... however > >>> this has been discussed before and it was decided that since, in > >>> theory, with and without the 'www' do not necessarily point to > >>> the same thing (i.e., there is nothing at teamchad.org, you must > >>> use www.teamchad.org) it would not make sense to add it to the > >>> system > >>> > >> > >> > >> Perhaps it would make sense to do this only for URLs with path > >> components and not just hostnames? > >> > >> ie. http://bravo5.org/foo/bar/baz and http://www.bravo5.org/foo/ > >> bar/baz > >> > > > > > > Except that, for instance, http://andrew.notzen.com/wiki/ is the > > same as http://www.notzen.com/andrew/wiki/ - how would you conflate > > those? > > > > I think that _any_ kind of consolidation is going to hit cases > > where it does the wrong thing, and therefore it shouldn't be done > > at all in an automatic function. > > > > On the other hand, if there was a way of matching two URLs together > > manually, that might be nice. > > > > Andy D > > _______________________________________________ > > discuss mailing list > > [email protected] > > http://lists.del.icio.us/cgi-bin/mailman/listinfo/discuss > > > > > -- > joshua schachter > [EMAIL PROTECTED] > > > _______________________________________________ > discuss mailing list > [email protected] > http://lists.del.icio.us/cgi-bin/mailman/listinfo/discuss > _______________________________________________ discuss mailing list [email protected] http://lists.del.icio.us/cgi-bin/mailman/listinfo/discuss

