I just tested 1.5.1-b19 with G2.2-svn.
When connecting standalone GR with G2, I see these user-agent strings in the apache agent log:
Gallery Remote 1.5.1-b19:
- used for the first two requests (HEAD /gallery2/gallery_remote2.php and GET /gallery2/main.php?g2_controller=remote.GalleryRemote&g2_form%5Bcmd%5D=no-op)
RPT-HTTPClient/0.3-3E:
- used for some POST /gallery2/main.php
Java/1.5.0_04:
- used for all core.DownloadItem requests
The slideshow applet uses these agents:
Mozilla/4.0 (Windows XP 5.1) Java/1.5.0_06:
- for java resource downloads (e.g. "GET /gallery2/modules/slideshowapplet/applets/GalleryRemoteHTTPClient.jar )
- for core.DownloadItem requests
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1) Gecko/20061010 Firefox/2.0:
- for the no-op command (GET /gallery2/main.php?g2_controller=remote.GalleryRemote&g2_form%5Bcmd%5D=no-op)
- this is the userAgent which was specified to GR by the embedded HTML arguments
RPT-HTTPClient/0.3-3E:
- for POST /gallery2/main.php requests
Same for the upload applet:
Mozilla/4.0 (Windows XP 5.1) Java/1.5.0_06:
- for java resource requests
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1) Gecko/20061010 Firefox/2.0:
- for the GET based no-op request
RPT-HTTPClient/0.3-3E:
- for add-item upload POST requests
Note (maybe related, but I don't think so):
- I can upload files via GR and the upload applet, i can add albums via GR, i can download the thumbs via GR
- But I cannot view the slideshow. Neither in GR nor in the slideshow applet.
Logged In: YES
user_id=113246
Originator: NO
Wow, very thorough!
Fixed the RPT-HTTPClient/0.3-3E for the applet version, which should always send the user-agent set by the embedded HTML arguments.
Logged In: YES
user_id=942712
Originator: YES
That was quick!
Verified the fix for the upload and slideshow applet.
Thanks!