[f-spot] Fix User-Agent in GalleryExport.
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot] Fix User-Agent in GalleryExport.
- Date: Wed, 26 May 2010 12:32:40 +0000 (UTC)
commit 6a8fb5071971f6357e038ef251cdbd0dc9c2418d
Author: Ruben Vermeersch <ruben savanne be>
Date: Wed May 26 14:31:43 2010 +0200
Fix User-Agent in GalleryExport.
https://bugzilla.gnome.org/show_bug.cgi?id=569689
extensions/Exporters/GalleryExport/FormClient.cs | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/extensions/Exporters/GalleryExport/FormClient.cs b/extensions/Exporters/GalleryExport/FormClient.cs
index db5dc67..916b4b1 100644
--- a/extensions/Exporters/GalleryExport/FormClient.cs
+++ b/extensions/Exporters/GalleryExport/FormClient.cs
@@ -233,9 +233,7 @@ namespace FSpot {
Request.Method = "POST";
Request.Headers["Accept-Charset"] = "utf-8;";
-
- //Request.UserAgent = "F-Spot Gallery Remote Client";
- Request.UserAgent = "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1";
+ Request.UserAgent = String.Format("F-Spot {0} (http://www.f-spot.org)", Defines.VERSION);
if (multipart) {
GenerateBoundary ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]