Bug #5222

Registering image with complex URL in PATH fails

Added by Boris Parak almost 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:07/10/2017
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Core & System
Target version:Release 5.4.1
Resolution:fixed Pull request:
Affected Versions:OpenNebula 5.2

Description

Complex URL in PATH seems to break image upload (see example below). Call to OCA either times out or fails with 500 Internal Server Error.

NAME="test-cf" 
DESCRIPTION="tesr" 
TYPE="OS" 
PERSISTENT="NO" 
DEV_PREFIX="vd" 
DRIVER="qcow2" 
PATH="http://localhost:7480/swift/v1/AUTH_user/one-images/6bcf527b5655654d357094348efc2dec?temp_url_sig=3b0c924e171a51acfff3f93250158896eab63615&temp_url_expires=1500315763" 

Associated revisions

Revision 98c51bcf
Added by Vlastimil Holer almost 4 years ago

B #5222: Registering image with complex URL in PATH fails (#467)

  • B #5222: Secure image downloader: Escape XML references on ImageManager::stat_image

Revision 44077060
Added by Vlastimil Holer almost 4 years ago

B #5222: Registering image with complex URL in PATH fails (#467)

  • B #5222: Secure image downloader: Escape XML references on ImageManager::stat_image

(cherry picked from commit 98c51bcf4f3b0313655d11945a24fe2327d9b414)

History

#1 Updated by Boris Parak almost 4 years ago

(I couldn't find anything relevant in oned.log or any other log files)

#2 Updated by Ruben S. Montero almost 4 years ago

  • Status changed from Pending to Closed
  • Target version set to Release 5.4.1
  • Resolution set to fixed

Also available in: Atom PDF