Hi Jason, Yes. Sure you could use quotes and specify file names. But the point of this example was that these obfuscated URLs aren't really nice from the users perspective. Short, nice and clean URLs are so much better on the user! I especially dislike cases when the href link points to the right place, but changes underneath you on the onclick event. That makes it impossible to copy the link to the clipboard without actually following it. :-F
I understand that from the server side one might want to have tokens and aids, but that doesn't mean that normal URLs should be sacrificed. In my opinion here's how the URL should look like: http://mitlm.googlecode.com/issues/attachment/mitlm.0.4.ubuntu9.10.patch?aid=-4077538411916343304&token=aba5c2d445c1db169223b6398f619d33 -- Dmitry On Aug 4, 3:06 pm, Jason Robbins <[email protected]> wrote: > Hi Dmitry, > > The "&" in the URL is interpreted by the unix shell as a request to > run the command in the background. That's pretty much par for the > course when trying to use wget. You could use 'wget -O FILENAME' to > specify the output filename that you want. Type 'wget --help' for > more info. > > Thanks, > jason! > -- > Google me athttp://www.google.com/profiles/jrobbins > > On Wed, Aug 4, 2010 at 2:22 PM, Dmitry Chichkov <[email protected]> wrote: > > Steps to reproduce: > > > 1) Go to this page, you'll see a link to the patch: > > http://code.google.com/p/mitlm/issues/detail?id=14#c3 > > > 2) Copy link location into the clipboard: > >http://mitlm.googlecode.com/issues/attachment?aid=-407753841191634330... > > > 3) Paste it to wget: > > $ > >http://mitlm.googlecode.com/issues/attachment?aid=-407753841191634330... > > > 4) You'll get: > > wget > >http://mitlm.googlecode.com/issues/attachment?aid=-407753841191634330... > > [1] 11319 > > --2010-08-04 14:10:04-- > > http://mitlm.googlecode.com/issues/attachment?aid=-4077538411916343304 > > Resolving mitlm.googlecode.com... [2] 11320 > > dmi...@qrv:~/libTrie/mitlm.0.4$ 74.125.127.82 > > Connecting to mitlm.googlecode.com|74.125.127.82|:80... connected. > > HTTP request sent, awaiting response... 302 Found > > Location: > >https://www.google.com/accounts/ServiceLogin?service=code<mpl=phost... > > [following] > > --2010-08-04 14:10:05-- > >https://www.google.com/accounts/ServiceLogin?service=code<mpl=phost... > > Resolvingwww.google.com... 74.125.19.104, 74.125.19.99, > > 74.125.19.103, ... > > Connecting towww.google.com|74.125.19.104|:443... connected. > > HTTP request sent, awaiting response... 404 Not Found > > 2010-08-04 14:10:05 ERROR 404: Not Found. > > > ^C > > [1]- Exit 1 > > wgethttp://mitlm.googlecode.com/issues/attachment?aid=-4077538411916343304 > > [2]+ Done name=mitlm.0.4.ubuntu9.10.patch > > > 5) Ok. That didn't work. Trying with quotes: > > wget "http://mitlm.googlecode.com/issues/attachment? > > aid=-4077538411916343304&name=mitlm. > > 0.4.ubuntu9.10.patch&token=8450f99f9310501d815d7c9f60a0b2ed" > > --2010-08-04 14:13:56-- > >http://mitlm.googlecode.com/issues/attachment?aid=-407753841191634330... > > Resolving mitlm.googlecode.com... 74.125.127.82 > > Connecting to mitlm.googlecode.com|74.125.127.82|:80... connected. > > HTTP request sent, awaiting response... 200 OK > > Length: 4483 (4.4K) [application/octet-stream] > > Saving to: `attachment?aid=-4077538411916343304&name=mitlm. > > 0.4.ubuntu9.10.patch&token=8450f99f9310501d815d7c9f60a0b2ed' > > > 100%[======================================>] 4,483 --.-K/s in > > 0.002s > > > 2010-08-04 14:13:57 (2.37 MB/s) - `attachment? > > aid=-4077538411916343304&name=mitlm. > > 0.4.ubuntu9.10.patch&token=8450f99f9310501d815d7c9f60a0b2ed' saved > > [4483/4483] > > > 6) Now that did work, but the file name is incorrect, one need to > > rename it: > > mv attachment\?aid\=-4077538411916343304\&name\=mitlm. > > 0.4.ubuntu9.10.patch\&token\=8450f99f9310501d815d7c9f60a0b2ed mitlm. > > 0.4.ubuntu9.10.patch > > > -- Regards, Dmitry > > > -- > > You received this message because you are subscribed to the Google Groups > > "Project Hosting on Google Code" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/google-code-hosting?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Project Hosting on Google Code" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-code-hosting?hl=en.

