2

I have just downloaded a Full Distribution of Struts 2.3.24.

When unzipping it I had a problem with the following two file names:

  • struts-2.3.24\docs\docs\bookmark-portlet.zip?version=1&modificationDate=1199675399000&api=v2
  • struts-2.3.24\docs\docs\example.gif?api=v2

For now I just ignored them.

My question is:

Is it a bug in a distribution (unresolved targets) or does Struts require a more sophisticated archive utility that actually can handle something like this?

Roman C
  • 49,761
  • 33
  • 66
  • 176
PM 77-1
  • 12,933
  • 21
  • 68
  • 111

1 Answers1

1

It's probably archived a wrong name and a bug in distribution. I've seen such files in some zipped files or you have wrong zip utility. In either way you can test the archive for errors with -t option. If Struts required more sophisticated utility you were unable extract files from it.

Roman C
  • 49,761
  • 33
  • 66
  • 176
  • I tested the archive with `7-Zip` and it showed no problems. I then unzipped it without errors and it did actually create files with these *weird* names. Seems more and more like a bug in a release builder. – PM 77-1 Jun 27 '15 at 21:03
  • You can build it yourself, Struts team provides you the access to the source repository. Check [this](http://stackoverflow.com/a/24595066/573032) answer. Also you can check the checksum of the files to make sure it's an original. – Roman C Jun 28 '15 at 09:41