Comments (5)
@kellyhutchins is this where "/rest" must be included in the white list url right?
I think this has been taken care of in java, i just tested and debug the java proxy. the way it gets the infoUrl is actually from the request url, not from the url in the config.
It gets the index of "/rest" in the request url, then the infoUrl is the substring of that url from 0 to that index, plus "/rest/info?f=json"
int infoIndex = url.toLowerCase().indexOf("/rest");
String infoUrl = url.substring(0, infoIndex);
infoUrl += "/rest/info?f=json";
I think we are good here for java.
from resource-proxy.
@esoekianto What if your domain starts with "rest" as in http://reston.example.com
...
from resource-proxy.
@bsvensson It would not work, good catch. I guess it should check for "/rest/". I can make the changes #18
@jgravois how about in .Net for this?
from resource-proxy.
@MehulChoksey - Could you verify this JSP issue?
from resource-proxy.
I think this can be closed and the "better" way should be address in #23
from resource-proxy.
Related Issues (20)
- The proxy server application .Net version does not work for ArcGIS server 10.61 HOT 9
- The proxy server application php version does not work with php version 7 and higher HOT 4
- Getting Invalid token error when trying to access ArcGIS World Geocoding Service on non-public Web Map HOT 2
- Proxy Not Renewing Token HOT 8
- Problema con proxy DotNet HOT 2
- wildcard in allowedReferer not working HOT 2
- 304 Not modified errors created in log files for all request. HOT 5
- PHP7 ErrorException count(): Parameter must be an array or an object that implements Countable HOT 2
- Proxy has not been set up for this URL HOT 5
- _legends information lost on secured services HOT 2
- The dotnet version has an unused variable
- Multiple Accounts HOT 3
- time to archive? HOT 1
- Mention NGINX as an alternative in README HOT 3
- preliminary calls not using proxy HOT 5
- How to use esri-resource-proxy in an application running on a different port? HOT 4
- Impossible de créer un canal sécurisé SSL/TLS
- How to install the PHP proxy on EC2 (Amazon Linux 2) HOT 1
- PHP Proxy Doesn't work HOT 1
- Directory Traversal Vulnerability HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resource-proxy.