プロジェクト

全般

プロフィール

Vote #68461

完了

Add user-agent to reposman

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
SCM_3
対象バージョン:
開始日:
2010/10/24
期日:
進捗率:

0%

予定工数:
category_id:
3
version_id:
25
issue_org_id:
6735
author_id:
3906
assigned_to_id:
0
comments:
2
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Hi,

On my system, reposman.rb fails with a 400 Bad Request. The reason for that is that I use mod_security, which has some strict rules regarding correct compliance with requests, browsers, etc. (these rules are very essential because they cause bad bots, malicious users, malicious requests, etc, to be denied)

Anyways, one of the requirements is that anything accessing the site must have a user-agent, and the reason that reposman fails is because it doesn't specify a user-agent (I read my access logs)

So, could a user-agent be added? It'd make the tool more compliant with standards anyways, and it'd allow people to more easily see and understand that the "thing" accessing their /sys/ area is reposman.

I was thinking of a user-agent such as: "Redmine repository manager/1.3 (http://)"


journals

Done in r4288. User-agent is @"Redmine repository manager/#{Version}"@
--------------------------------------------------------------------------------
This is safe for the 1.0-stable branch and 1.0.3.
--------------------------------------------------------------------------------

Admin Redmine さんがほぼ2年前に更新

  • カテゴリSCM_3 にセット
  • 対象バージョン1.0.3_25 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0