计算最大URL长度 [英] Calculating max url length

查看:76
本文介绍了计算最大URL长度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.我正在做一个Web应用程序,允许用户创建文件夹并将文件上传到他们新创建的文件夹.我知道Sharepoint具有最大的URL长度限制.我想检查一下.例如,文件夹是这是测试文件夹"和文件名 这是我的测试文件.doc.

Hi. i am doing a web app that allow users to create folders and upload files to their newly created folder. i understand that Sharepoint has a max url length restriction. i would like to check. for example is the folder is This is a test folder and the filename is this is my test file.doc.

要计算url长度,请先对共享点进行编码还是先对它进行编码?

to calculate the url length, do sharepoint encode it first or before?

i.e Sharepoint将基于

i.e Sharepoint will calculate the max url length based on 

1.这是一个测试文件夹/这是我的测试文件.doc

1. This is a test folder/this is my test file.doc

2.This%20is%20a%20test%20folder/this%20is%20my%20test%20file.doc

2. This%20is%20a%20test%20folder/this%20is%20my%20test%20file.doc

推荐答案

它基于解码的URL.编码无限制.

It is based on Decoded URL .  Encoded no limit .


这篇关于计算最大URL长度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆