зеркало из https://github.com/mono/mail-archives.git
102 строки
3.9 KiB
HTML
102 строки
3.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [mono-android] WebRequest unescaping URLs
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:monodroid%40lists.ximian.com?Subject=Re%3A%20%5Bmono-android%5D%20%20WebRequest%20unescaping%20URLs&In-Reply-To=%3CEA458FED-9A7B-4844-B2B1-F266D0619571%40gmail.com%3E">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<style type="text/css">
|
|
pre {
|
|
white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
|
|
}
|
|
</style>
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="012956.html">
|
|
<LINK REL="Next" HREF="012930.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[mono-android] WebRequest unescaping URLs</H1>
|
|
<B>Filip Frącz</B>
|
|
<A HREF="mailto:monodroid%40lists.ximian.com?Subject=Re%3A%20%5Bmono-android%5D%20%20WebRequest%20unescaping%20URLs&In-Reply-To=%3CEA458FED-9A7B-4844-B2B1-F266D0619571%40gmail.com%3E"
|
|
TITLE="[mono-android] WebRequest unescaping URLs">filipfracz at gmail.com
|
|
</A><BR>
|
|
<I>Wed Nov 21 16:59:49 UTC 2012</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="012956.html">[mono-android] WebRequest unescaping URLs
|
|
</A></li>
|
|
<LI>Next message: <A HREF="012930.html">[mono-android] VS2012 Crashing During Debugging?
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#12929">[ date ]</a>
|
|
<a href="thread.html#12929">[ thread ]</a>
|
|
<a href="subject.html#12929">[ subject ]</a>
|
|
<a href="author.html#12929">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>Resending, since I missed the [mono-android] from the subject
|
|
|
|
On Nov 21, 2012, at 10:30 AM, Filip Fracz <<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">filipfracz at gmail.com</A>> wrote:
|
|
|
|
><i> I'm having an issue with URLs being escaped in MonoDroid.
|
|
</I>><i> I would like the Uri class to leave %2F in the URLs (otherwise it's hard to interact with short-lived S3 links).
|
|
</I>><i>
|
|
</I>><i> This SO describes the problem and the answer has a workaround for Microsoft.NET (it does works).
|
|
</I>><i> I tried putting a similar "app.config" file in my Android project, but it does not seem to have any effect.
|
|
</I>><i>
|
|
</I>><i> What can I do? Is there any way of using Android's native HttpClient in my C#?
|
|
</I>><i>
|
|
</I>><i>
|
|
</I>><i>
|
|
</I>><i> P.S.
|
|
</I>><i> Detailed background info for those interested:
|
|
</I>><i> I'm using a WebClient class to do a GET on this URL: <A HREF="http://fs.debesys.net/fs/common/filip/android_mg_instruments">http://fs.debesys.net/fs/common/filip/android_mg_instruments</A>
|
|
</I>><i> It redirects to a short-lived Amazon S3 URL, which contains %F2.
|
|
</I>><i> Uri class unescapes these to forward slashes, and Amazon issues a 403.
|
|
</I>
|
|
-------------- next part --------------
|
|
An HTML attachment was scrubbed...
|
|
URL: <<A HREF="http://lists.ximian.com/pipermail/monodroid/attachments/20121121/294a6724/attachment.html">http://lists.ximian.com/pipermail/monodroid/attachments/20121121/294a6724/attachment.html</A>>
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="012956.html">[mono-android] WebRequest unescaping URLs
|
|
</A></li>
|
|
<LI>Next message: <A HREF="012930.html">[mono-android] VS2012 Crashing During Debugging?
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#12929">[ date ]</a>
|
|
<a href="thread.html#12929">[ thread ]</a>
|
|
<a href="subject.html#12929">[ subject ]</a>
|
|
<a href="author.html#12929">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/monodroid">More information about the Monodroid
|
|
mailing list</a><br>
|
|
</body></html>
|