Project

General

Profile

Actions

Defect #12050

closed

:export links to repository files lead to a 404 error

Added by Alexey Artemov over 11 years ago. Updated over 11 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 #1

Updated by Toshi MARUYAMA over 11 years ago

  • Category set to SCM
Actions #3

Updated by Jean-Philippe Lang over 11 years ago

  • Status changed from Confirmed to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version changed from Candidate for next minor release to 2.1.3
  • Resolution set to Fixed

Fixed in r10580.

Actions #4

Updated by Jean-Philippe Lang over 11 years ago

  • Subject changed from Cannot get file from svn repository via export, getting 404 to :export links to repository files lead to a 404 error
  • Status changed from Resolved to Closed

Merged in 2.1-stable.

Actions

Also available in: Atom PDF