Project

General

Profile

Actions

Defect #12050

closed

:export links to repository files lead to a 404 error

Added by Alexey Artemov about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Category:
SCM
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I'm trying to make download link to a file from svn-repository. If i write in issue:

export:"NSK130/branches/Release/O131.hex" 

I get:
http://localhost:50080/projects/skudopp-nsk-131-sw/repository/entry/NSK130/branches/Release/O131.hex.raw
                                                             ------                                 -----

Instead of:
http://localhost:50080/projects/skudopp-nsk-131-sw/repository/raw/NSK130/branches/Release/O131.hex
                                                             ----                                -----

And of course then obtain 404-error.
PS: Quotes removal has no effect

Redmine version - 2.1.2.stable.10570

About your application's environment

Ruby version 1.9.3 (i686-linux)
RubyGems version 1.8.23
Rack version 1.4
Rails version 3.2.8
Active Record version 3.2.8
Action Pack version 3.2.8
Active Resource version 3.2.8
Action Mailer version 3.2.8
Active Support version 3.2.8
Middleware Rack::Cache, ActionDispatch::Static, Rack::Lock, #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x9962b6c>, Rack::Runtime, Rack::MethodOverride, ActionDispatch::RequestId, Rails::Rack::Logger, ActionDispatch::ShowExceptions, ActionDispatch::DebugExceptions, ActionDispatch::RemoteIp, ActionDispatch::Callbacks, ActiveRecord::ConnectionAdapters::ConnectionManagement, ActiveRecord::QueryCache, ActionDispatch::Cookies, ActionDispatch::Session::CookieStore, ActionDispatch::Flash, ActionDispatch::ParamsParser, ActionDispatch::Head, Rack::ConditionalGet, Rack::ETag, ActionDispatch::BestStandardsSupport, OpenIdAuthentication
Application root /opt/redmine
Environment production
Database adapter mysql2
Database schema version 20120731164049

Actions

Also available in: Atom PDF