Questions tagged [uri]
A Uniform Resource Identifier (or URI) is a string of characters used to identify a name or resource. URI is legacy terminology. In most cases, the term URL should be used instead.
6,145
questions
0
votes
0
answers
18
views
Ansible URI tasks failing suddenly with no changes due to SSL issues
I have a series of playbooks that all stopped working suddenly. I have made no major modifications to the Ansible server other than running system updates, and all of the devices are firewalls / ...
0
votes
0
answers
21
views
Load resources from a working directory rather than from app directory
In my WPF application I'm using a ResourceDictionary to store paths for all assets. Here's the example:
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation&...
0
votes
0
answers
22
views
android - kotlin - how to save taken image in Room?
i'm using android studio, lenguage kotlin, to make my app where i want to deal with users and their cooking recipes. i need to use images of the dishes that the users want to share. i'm struggling ...
0
votes
0
answers
12
views
Android: Getting free space of an empty MediaStore storage/volume?
I am trying to determine a free space of a MediaStore storage (an SD card - MediaStore.VOLUME_EXTERNAL_PRIMARY in my case). The following code works OK:
Uri videoContentUri = MediaStore.Video.Media....
1
vote
1
answer
22
views
URL parsing difference: Node.js vs. Python
I'm trying to convert the following url to a valid nodejs URL object: https://4www.xn--www-y8c4rla.a-k-d.ru. In this case I expect it to fail.
Due to reasons I need to detect this domain being invalid ...
1
vote
1
answer
32
views
How to create a File object with File.fromUri(Uri.parse(input)) with input as a FFUploadedFile data type?
I'm trying to create a File object with the method File.fromUri(Uri.parse(uploadedImage)); where the input uploadedImage is an FFUploadedFile data type with data that comes from an image the user ...
1
vote
1
answer
61
views
Extract URLs from webpages
I want to extract URLs from a webpage that contains multiple URLs in it and save the extracted to a txt file.
The URLs in the webpage starts '127.0.0.1' but i wanted to remove '127.0.0.1' from them ...
0
votes
0
answers
38
views
Mongo DB Error: Error: The `uri` parameter to `openUri()` must be a string, got "undefined"
I got a common error and tried multiple threads to fix it with no success.
I think there is something else involved that I'm just not seeing. This site used to be deployed through Heroku. The plan was ...
1
vote
1
answer
59
views
OData - GET_STREAM Method to download an attachment file didn't triggered from SAPUI5 Controller
Background
I'm working with UploadSet component to upload, display and download attachment from GOS; to get it there I'm following this tutorial by ABAP Police although there's a little bit adjustment ...
1
vote
1
answer
32
views
URI Equivalent of encode_www_form_component in Addressable
What is the equivalent method for URI.encode_www_form_component in Addressable::URI?
0
votes
1
answer
56
views
Blazor: An invalid request URI was provided when using GetFromJsonAsync from wwwroot json file
While taking the code from the sample webassembly template, and applying it the server app, I am attempting to read in a json file located in the wwwroot directory:
{
forecasts = await Http....
0
votes
0
answers
57
views
How to post request in java to get the response
I want to post the request in same formate.
POST /api/bla/bla/test/token HTTP/1.1
Host: example.com
Content-Type: application/x-www-form-urlencoded
Authorization: Basic aaabbbCCCdddeeefffGGG
client_id=...
1
vote
1
answer
22
views
ms-settings, easeofaccess-cursorandpointersize and others don't work in Windows 10, 22H2
Unfortunately, a lot of searching didn't help. There are many lists online, of URIs to the different Windows settings.
You can start them e.g. in PowerShell by:
Start ms-settings:easeofaccess-...
0
votes
0
answers
55
views
Flutter ArgumentError (Invalid argument(s): Missing scheme in uri: Shein.com)
I am using a WebView in my Flutter-App but it fails when trying to parse a URL like shein.com.
This is my setup:
Uri? uri = Uri.tryParse(widget.initUrl);
if (uri == null) {
AlertService....
0
votes
1
answer
50
views
How to get path to pdf file from uri without specific permissions in android 14 and hier
I want to get path to pdf file,which i get as uri from intent action ACTION_OPEN_DOCUMENT,but how i can get it,if media type of uri is document (via debug i understand,what problem in line 126 of my ...
0
votes
1
answer
65
views
Uri lacks 'file' scheme while converting Uri to File
Primarily, I want to clarify that this isn't a duplicate. I've gone through every question on Stack Overflow that has a similar topic but couldn't find a solution. I've also gone through the ...
1
vote
0
answers
30
views
Use svg extension uri as a background image with react native
I am trying to set a background image with svg extension Uri,
With ImageBackground the image is not displayed.
I tried also react-native-svg
But uri is not recognized as attribute (error of ...
1
vote
1
answer
43
views
Compare two URI/URL endpoints without parameter values
Let's say I have these two URIs:
var uri1 = "/rest/api/projects/{projectName}/statuses"
var uri2 = "/rest/api/projects/XXX/statuses"
As shown, they are different only in ...
0
votes
0
answers
51
views
Media unavailable while sharing a file in android
I am implementing an android app that shares installed apps apk files.
All good; but while sharing, I received an error about "Media Unavailable."
How can I fix it?
Honestly, I am trying to ...
0
votes
0
answers
90
views
Creation of dynamic property CI_URI::$config is deprecated ON xampp\htdocs\SMS-CI\os\core [duplicate]
SMS Debug ===> Error Encountered!
Severity: 8192
Message: Creation of dynamic property CI_URI::$config is deprecated
Filename: core/URI.php
Line Number: 73
function __construct()
{
$this->...
0
votes
1
answer
46
views
C# Problem with Uri for non-ASCII File Names
I want to access this file:
var myUri = new Uri("سلام.txt");
I need Uri format for some reason and I can't use string.
Exception is:
Invalid URI: The format of the URI could not be ...
2
votes
1
answer
107
views
a bug in Java's stdlib SocksSocketImpl?
I've noticed a peculiar suppressed URISyntaxException in one of my Spring Boot apps during embedded Tomcat shutdown procedure via TomcatWebServer#stop() - and after debugging, found the source to be ...
0
votes
0
answers
30
views
UPI links not completing payment
I am trying to pay by clicking on upi link as follows
upi://pay?pa=abc@upi&pn=payeeName&tr=1234&tn=Pay%20to%20payeeName&am=1&mam=1&cu=INR&url=https://example.com/payment/...
0
votes
0
answers
35
views
Passing parameters in a link in native php
In simple php, I need to implement routing based on the REST API principle. There is a condition that in index.php an array with all uris in the form of strings is stored. when executing a request, an ...
1
vote
0
answers
41
views
Flutter:base64 image not displayed when the image is big
I'm displaying list of images in my flutter app where I get the String (base64) from my api and I display the image using this code :
Image.memory(
base64Decode(imageUrl),
width: double....
0
votes
0
answers
12
views
How to fix the error in URI in Google Cloud
Hello i have encountered this problen in my Google Cloud project about URI because the system gives me the http:// but in the URI does not support http:// because of the API i usethis photod the URI ...
0
votes
0
answers
41
views
How to perform OCR from image URI in React native expo?
I use the imagePicker SDK to get an image from the library in react native. I want to be able to perform OCR on this image. The result I get back from imagePicker is
{
"assets": [
{
...
2
votes
1
answer
57
views
URI constructor bug?
I'm wondering whether I'm overlooking something or whether this is a bug in the java.net.URI class. Consider the following code:
URI uri = new URI(
null,
null,
...
0
votes
0
answers
17
views
Is there any difference between https://example.com/path/to/url and https://example.com//path/to/url?
I encountered an interesting issue where I replaced an image file in the WordPress file manager, but when I accessed the URL, the original file was still displayed. Despite my attempts to fix the ...
1
vote
1
answer
68
views
WebClient in Java Spring replaces the '%' character when I don't want it to
I am trying to create a URI that contains a '#'. I understand that that needs to be replaced by "%23", so I do. However, when using WebClient to connect to the endpoint, it automatically ...
1
vote
1
answer
20
views
changing activity(context) affect on access permision to received uri?
I'm trying to receive file from 'share menu' outside of my application and then process on it. I receive Uri and convert it to fileDescriptor, put it in static variable and then use that variable in ...
0
votes
1
answer
48
views
BizTalk property schema fields seemingly empty when mapping as variables
I have a property schema in my BizTalk application, containing two fields - SID and MID. These are both promoted from fields within a field mapped earlier in the orchestration, and need to be used as ...
0
votes
0
answers
65
views
Flutter Target of URI doesn't exist
screenshot
I just cloned a flutter project from GitHub, and after doing so, I get multiple errors stating (Flutter Target of URI doesn't exist) the original developer told me that the project works ...
0
votes
1
answer
47
views
Android URI wrong path why?
I have a file
File tempFile = ....// creating the file
String fPath = temFile.getPath(); //this will return - /storage/emulated/0/Pictures/A
//After that I get the URI
URI uuu = FileProvider....
0
votes
0
answers
100
views
Configure content security policy according to office uri scheme
I am trying to configure a content security policy for a Java web application.
I am currently overriding the init method of Webapplication like this:
final CSPHeaderConfiguration ...
0
votes
0
answers
25
views
Spotify Vite App works on my computer but not on others
I created an app where I fetch data from the Spotify API and use it to make a playlist. The app works perfectly on my computer but on other devices I have a problem. When other people have to log into ...
0
votes
0
answers
33
views
Getting Exception while passing url dynamically in Xamarin Forms
I have a Xamarin app, it works well when the url's are static. But as soon as I save the selected language in Preferences and fetch the language selection to pass it as a querystring in Uri, I get the ...
0
votes
2
answers
76
views
How to create case-sensitive Uri in C#?
I need to connect to an API where the services URLs are case sensitive. For example, https://api-ABC.domain.com is different from https://api-abc.domain.com.
However, every time I create a new Uri ...
0
votes
0
answers
58
views
Downloading PDF's in Ruby with open uri and IO copy
I am trying to download a PDF from a URL that is provided after an API call to a shipping company.
They provide a URL that looks something like this:
https://eshiponline.purolator.com/ShipOnline/...
1
vote
1
answer
72
views
QRCoder Html Base64 lengthy URI need to shorten
I am trying to link a lengthy HTML URI to QR code generated through QRCoder, but it gives the below error:
QRCoder.Exceptions.DataTooLongException: The given payload exceeds the maximum size of the ...
0
votes
1
answer
15
views
How to find definition of DBpedia properties like `domain`, `range`, `comment`
These days I have been struggling to construct a new dataset with opensource dataset. And I have to decide the characteristics of property in DBpedia such as symmetry, antisymmetry, transitivity. At ...
0
votes
2
answers
71
views
GStreamer: a complete list of uri protocols?
I see in various parts of the GStreamer documentation, and across the web, different protocols that playbin understands from the uri prefix, beyond http://... and file://....
webrtcsrc doc page shows ...
0
votes
0
answers
22
views
Powershell function to accept Uri with & character [duplicate]
how should I provide to powershell function Uri string with & character, like Get-ValidUri -Uri https://www.youtube.com/watch?v=LZ382nYZPPg&t=421s it always returns error where 'The ampersand (...
0
votes
1
answer
36
views
Ansible URI module: override hostname to reach backend web servers using virtual hosts
We have a few loadbalanced webservers which are configured to use virtual hosts to host multiple websites.
Because of the virtual hosts, we need to send the correct domain name to the web server when ...
0
votes
2
answers
53
views
Android ImagePicker/MediaStore returns rotated image
I know this question has been asked many times but there is no best-case answer to be found.
MediaStore.Images.Media.getBitmap(this.getContentResolver(), uri)
I am retrieving the bitmap from this ...
0
votes
0
answers
54
views
WPF Image - Source can't resolve an image resource from other project
I'm trying to use an image in WPF/XAML with a source pointing to a resource contained in another project:
<Image Source="pack://application:,,,/MySolution.Resources;component/myicon.png" /...
0
votes
0
answers
45
views
The variable value does not change when using a dynamic URL in Flutter 3 webview
I've created a Flutter 3 webview page with a dynamic URL. The URL contains several parameters that I store in shared preferences. The issue is that these parameters aren't being filled when the URL is ...
0
votes
1
answer
81
views
Is it possible to concatenate strings and variables in a Flutter 3 WebView URL?
I am creating a WebView page using Flutter 3, and I'm using webview_flutter: 4.2.2. The URL I'm using contains multiple parameters, so I need to use a dynamic URL. I've tried something like the ...
0
votes
0
answers
26
views
Android Passing a URI pointing to an image file to another activity not in the app module and deleting the file afterwards possible?
I'm trying to avoid TransactionTooLargeException by writing an image byteArray into a file created in
context.getExternalFilesDir(Environment.Directory_PICTURES), generating a URI from it, and passing ...
0
votes
0
answers
26
views
Call Local Software With Javascript
There is a software called obsidian which lets you call certain functions that it offers by using urls. So if I type the following command in the browser for example obsidian://advanced-uri?vault=Test&...