[PATCH] winevulkan: Update Vulkan XML URL to use raw.githubusercontent.com.

Brendan Shanks bshanks at codeweavers.com
Thu Jul 23 17:19:13 CDT 2020


Signed-off-by: Brendan Shanks <bshanks at codeweavers.com>
---

Files are served from raw.githubusercontent.com, and raw.github.com is a redirect:
https://developer.github.com/changes/2014-04-25-user-content-security/

 dlls/winevulkan/make_vulkan | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/winevulkan/make_vulkan b/dlls/winevulkan/make_vulkan
index dd86016117b..71b56fcf54d 100755
--- a/dlls/winevulkan/make_vulkan
+++ b/dlls/winevulkan/make_vulkan
@@ -3115,7 +3115,7 @@ def set_working_directory():
     os.chdir(path)
 
 def download_vk_xml(filename):
-    url = "https://raw.github.com/KhronosGroup/Vulkan-Docs/v{0}/xml/vk.xml".format(VK_XML_VERSION)
+    url = "https://raw.githubusercontent.com/KhronosGroup/Vulkan-Docs/v{0}/xml/vk.xml".format(VK_XML_VERSION)
     if not os.path.isfile(filename):
         urllib.request.urlretrieve(url, filename)
 
-- 
2.26.2




More information about the wine-devel mailing list