当前位置:网站首页>阿里云访问资源:NoSuchKey
阿里云访问资源:NoSuchKey
2022-06-29 06:39:00 【好奇的菜鸟】
一、访问链接
https://xxxx.com/operateImg/%E6%9C%AA%E5%91%BD%E5%90%8D_%E8%87%AA%E5%AE%9A%E4%B9%89px_2022-04-12+14_26_50_1649745397000.jpeg
阿里云会自动将+号装换为空格,导致无法找到;
二、从OSS复制链接
https://xxxx.com/operateImg/%E6%9C%AA%E5%91%BD%E5%90%8D_%E8%87%AA%E5%AE%9A%E4%B9%89px_2022-04-12%2B14_26_50_1649745397000.jpeg
阿里将+号转换为%2B
三、URL编码
使用:url在线加解密
#原始链接
operateImg/未命名_自定义px_2022-04-12+14_26_50_1649745397000.jpeg
#encodeURIComponent 编码
operateImg%2F%E6%9C%AA%E5%91%BD%E5%90%8D_%E8%87%AA%E5%AE%9A%E4%B9%89px_2022-04-12%2B14_26_50_1649745397000.jpeg
#encodeURI
operateImg/%E6%9C%AA%E5%91%BD%E5%90%8D_%E8%87%AA%E5%AE%9A%E4%B9%89px_2022-04-12+14_26_50_1649745397000.jpeg
#escape
operateImg/%u672A%u547D%u540D_%u81EA%u5B9A%u4E49px_2022-04-12+14_26_50_1649745397000.jpeg
#阿里编码
operateImg/%E6%9C%AA%E5%91%BD%E5%90%8D_%E8%87%AA%E5%AE%9A%E4%B9%89px_2022-04-12%2B14_26_50_1649745397000.jpeg阿里参数使用:encodeURIComponent编码

四、encodeURIComponent,encodeURI,escape三者区别
escape:字符串编码(不适用)
encodeURIComponent、encodeURI:URL编码
encodeURIComponent、encodeURI区别:
encodeURI方法不会对下列字符编码 ASCII字母、数字、[email protected]#$&*()=:/,;?+'
encodeURIComponent方法不会对下列字符编码 ASCII字母、数字、~!*()'
所以encodeURIComponent比encodeURI编码的范围更大。
整个网址使用encodeURI编码,参数使用encodeURIComponent编码。
边栏推荐
- Autosar SWC在Simulink中Parameter的使用
- QT STL type iterator
- Redis de la base de données nosql (v): redis Jedis Tests
- Markdown skill tree (2): paragraph and emphasis
- Better than postman! Apipost knows more about Chinese programmers! How delicious!
- Method of changing host name (permanent)
- Markdown 技能树(1):MarkDown介绍
- 如何给下属进行授权?
- To: Hou Hong: the key to enterprise digital transformation is not technology, but strategy
- LeetCode_动态规划_中等_91. 解码方法
猜你喜欢
![[QNX Hypervisor 2.2用户手册]6.2.1 Guest之间通信](/img/3d/6a0cde206a09a7ef03038fb99cf532.png)
[QNX Hypervisor 2.2用户手册]6.2.1 Guest之间通信

YGG pilipinas: typhoon Odette disaster relief work update

通过keyup监听textarea输入更改按钮样式

IMX6DL4.1.15支持EIM总线(下)——配置原理分析。

Effective methods for construction enterprises to select smart construction sites

QT serial port programming

Solve the problem that NPM does not have permission

A hybrid model of machine learning notes time series

Crawler data analysis (introduction 2-re analysis)

Digital IC Design - UART
随机推荐
Twitter launches the test of anti abuse tool "safe mode" and adds enabling prompt
What is the difference between software engineer and software development? What is the difference between software engineer and software developer?
【翻译】簇拥而出。构建现代应用程序的设计方法
VPS是干嘛用的?有哪些知名牌子?与云服务器有什么区别?
Exploring the depth of objects in JVM series
NoSQL数据库之Redis(二):Redis配置文件介绍
NoSQL数据库介绍
Redis (4) of NoSQL database: redis new data type
期末总结——Spark
Uniapp obtains the date implementation of the beginning and end of the previous month and the next month
Common status codes for page error reporting
电子商务盛行,怎么提高商店转换率?
. Net core + DDD basic layering + project basic framework + personal summary "suggestions collection"
Beanpostprocessor and beanfactorypostprocessor
软件工程师与软件开发区别? Software Engineer和Software Developer区别?
Introduction to NoSQL database
In vscade, how to use eslint to lint and format
mmclassification安装与调试
Two ways to write throttling - recently seen
Domestic code hosting center code cloud