• Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • Gallery
  • Bugs
Gallery

[GR] Wrong user-agent strings

Intuitive web based photo gallery

Brought to you by: bharat, ckdake
  • Summary
  • Files
  • Reviews
  • Support
  • Mailing Lists
  • Tickets ▾
    • Translations
    • Patches
    • Bugs
    • Feature Requests
  • News
  • Code
Menu ▾ ▴
  • Create Ticket
  • View Stats

Group

  • Gallery 1
  • Gallery 2
  • Gallery Remote

Searches

  • Changes
  • Closed Tickets
  • Open Tickets

Help

  • Formatting Help

#1894 [GR] Wrong user-agent strings

Gallery Remote
closed-fixed
Pierre-Luc Paour
None
6
2006-11-23
2006-11-18
Andy Staudacher
No

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.

Discussion

  • Pierre-Luc Paour

    Pierre-Luc Paour - 2006-11-19

    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.

     
    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
  • Pierre-Luc Paour

    Pierre-Luc Paour - 2006-11-19
    • assigned_to: nobody --> paour
     
    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
  • Andy Staudacher

    Andy Staudacher - 2006-11-23

    Logged In: YES
    user_id=942712
    Originator: YES

    That was quick!

    Verified the fix for the upload and slideshow applet.

    Thanks!

     
    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
  • Andy Staudacher

    Andy Staudacher - 2006-11-23
    • status: open --> closed-fixed
     
    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

Log in to post a comment.

SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    1320 Columbia Street Suite 310
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2026 Slashdot Media. All Rights Reserved.
Terms Privacy Opt Out Advertise
×