Closed GoogleCodeExporter closed 9 years ago
I prefer to use %ra random alpha numeric for make long combinations. If your
intention is making url less predictable. Otherwise you could have used %i
which is more shorter?
Original comment by flexy...@gmail.com
on 27 Oct 2013 at 8:04
I'm not looking for a way to make it less predicatable, I want to keep it as
short as possible, yet no possibility to "overwrite" old images if you upload
them to a FTP server. I'd suggest something like '%i<length>', giving you an
"increment" string.
0-9, a-z, then A-Z, then the character before changes.
0000.png
0001.png
(...)
0009.png
000a.png
(...)
000z.png
000A.png
(...)
000Z.png
0010.png
etc
Original comment by rubenrut...@gmail.com
on 29 Oct 2013 at 6:20
Forget to say so, the output I just simulated above would be set up as '%i4'
Original comment by rubenrut...@gmail.com
on 29 Oct 2013 at 6:21
By the way using a-z and A-Z together won't be possible because Windows not
allow to have both "Test.jpg" and "test.jpg" because not case sensitive.
Adding %i4 can be problematic because then how to actually write 4 near %i with
this syntax because you can't escape characters. This was one of the reason why
i not added number support for %ra (random alphanumeric) because %ra8 would be
handy for me too.
Original comment by flexy...@gmail.com
on 1 Nov 2013 at 8:06
I see the point for the a-z and A-Z, however, isn't it possible to create an
escape character?
Original comment by rubenrut...@gmail.com
on 2 Nov 2013 at 5:28
I'm not planning to add different syntax support to name parser because it can
be complicated.
Original comment by flexy...@gmail.com
on 3 Jul 2014 at 5:07
Original issue reported on code.google.com by
casualba...@gmail.com
on 27 Oct 2013 at 7:02