Project

General

Profile

Actions

Feature #6735

closed

Add user-agent to reposman

Added by Ве Fio about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
Start date:
2010-10-24
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

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://<site url>)"

Actions

Also available in: Atom PDF