ARTIFACTORY: How to resolve the error "500" when using the Artifactory "File URL" link to download files that contain non-English characters

ARTIFACTORY: How to resolve the error "500" when using the Artifactory "File URL" link to download files that contain non-English characters

AuthorFullName__c
Yunzong Guo
articleNumber
000006292
ft:sourceType
Salesforce
FirstPublishedDate
2024-12-31T11:31:03Z
lastModifiedDate
2024-12-31
VersionNumber
3
Introduction 

When using the "File URL" link to download files with non-English characters in the names or paths, such as "测试.jpg", "テスト.jpg" ..., you may encounter the “500” error, such as the following:

User-added image 

Copying the URL and to download it in the browser, you will receive a 500 error:

User-added image 


Resolution 

You can resolve this issue by adding the following parameter to the artifactory.system.properties file:

Step 1:
Edit the artifactory.system.properties file:
$ vim $ARTIFACTORY_HOME/var/etc/artifactory/artifactory.system.properties
Step 2:
Add the following parameter (default value is true):
artifactory.redirect.native.browser.requests.to.ui=false
Step 3:
Restart Artifactory:
$ systemctl restart artifactory

 

Then, you can download this file successfully.


Conclusion 

This article introduces how to resolve the “500” error when downloading files with non-English characters in the names or paths. By modifying the artifactory.system.properties file, this issue can be resolved.