ioos / service-monitor

A web based catalog of IOOS services and datasets
http://catalog.ioos.us
6 stars 13 forks source link

Rethink the URL design and eliminate "null" from URLs #205

Closed dpsnowden closed 9 years ago

dpsnowden commented 9 years ago

This URL was blocked by NOAA. http://catalog.ioos.us/services/filter/null/null

capture

lukecampbell commented 9 years ago

Can you confirm that the null is the issue? It never caused any issues before.

benjwadams commented 9 years ago

If this is indeed the issue, perhaps replacing null with the empty string would be feasible, i.e. /null/null/ to ///

lukecampbell commented 9 years ago

I'm replacing null with the word none right now.

lukecampbell commented 9 years ago

Ok, #207 should fix the null issue and I redeployed to production.

dpsnowden commented 9 years ago

I can't confirm yet exactly what caused the blockage. I can confirm that this page is not blocked..

http://catalog.ioos.us/services/filter/none/null

But, it's also empty...

benjwadams commented 9 years ago

Derrick, that URL should probably either be: http://catalog.ioos.us/services/filter/none or http://catalog.ioos.us/services/filter/none/none

duncombe commented 9 years ago

@derrick, This is the same picture I get when I access http://catalog.ioos.us/services/filter/null/null from the public internet outside our firewall.

On Wed, Oct 1, 2014 at 12:12 PM, Derrick Snowden notifications@github.com wrote:

I can't confirm yet exactly what caused the blockage. I can confirm that this page is not blocked..

http://catalog.ioos.us/services/filter/none/null

But, it's also empty...

— Reply to this email directly or view it on GitHub https://github.com/ioos/catalog/issues/205#issuecomment-57491322.

Dr. Christopher M. Duncombe Rae c deirdre.byrne@noaa.gov hristopher.duncombe.rae@noaa.gov Oceanographer / Data Scientist IOOS/NOAA, Suite 1225, 1100 Wayne Avenue, Silver Spring, MD 20910, USA Tel: +1-301-427-2450 Fax: +1-301-427-2073

lukecampbell commented 9 years ago

the nulls were removed with the latest changes I did this morning, you shouldn't be able to navigate to any page with "null" in the URL.

duncombe commented 9 years ago

'shouldn't be able to' ? I still can.

On Wed, Oct 1, 2014 at 1:02 PM, Luke Campbell notifications@github.com wrote:

the nulls were removed with the latest changes I did this morning, you shouldn't be able to navigate to any page with "null" in the URL.

— Reply to this email directly or view it on GitHub https://github.com/ioos/catalog/issues/205#issuecomment-57499619.

Dr. Christopher M. Duncombe Rae c deirdre.byrne@noaa.gov hristopher.duncombe.rae@noaa.gov Oceanographer / Data Scientist IOOS/NOAA, Suite 1225, 1100 Wayne Avenue, Silver Spring, MD 20910, USA Tel: +1-301-427-2450 Fax: +1-301-427-2073

lukecampbell commented 9 years ago

Can you describe the process by which you were able to go to a page with "null" in the URL?

Which buttons did you click and selections were selected in the filter boxes?

duncombe commented 9 years ago

Okay, maybe you're right. Can't get there now from links on catalog pages. Maybe that was a refresh issue?

On Wed, Oct 1, 2014 at 1:14 PM, Luke Campbell notifications@github.com wrote:

Can you describe the process by which you were able to go to a page with "null" in the URL?

Which buttons did you click and selections were selected in the filter boxes?

— Reply to this email directly or view it on GitHub https://github.com/ioos/catalog/issues/205#issuecomment-57501229.

Dr. Christopher M. Duncombe Rae c deirdre.byrne@noaa.gov hristopher.duncombe.rae@noaa.gov Oceanographer / Data Scientist IOOS/NOAA, Suite 1225, 1100 Wayne Avenue, Silver Spring, MD 20910, USA Tel: +1-301-427-2450 Fax: +1-301-427-2073

lukecampbell commented 9 years ago

Yes, it was very likely that your browser cached the javascripts to optimize load times but a refresh would cause it to flush the cache and pick up the new ones. Is there still a warning page from IT preventing access?

duncombe commented 9 years ago

@lukecampbell: Not on the none/null pages that are now showing up. However there are other pages not containing nulls that are producing the warning.

On Wed, Oct 1, 2014 at 1:19 PM, Luke Campbell notifications@github.com wrote:

Yes, it was very likely that your browser cached the javascripts to optimize load times but a refresh would cause it to flush the cache and pick up the new ones. Is there still a warning page from IT preventing access?

— Reply to this email directly or view it on GitHub https://github.com/ioos/catalog/issues/205#issuecomment-57502046.

Dr. Christopher M. Duncombe Rae c deirdre.byrne@noaa.gov hristopher.duncombe.rae@noaa.gov Oceanographer / Data Scientist IOOS/NOAA, Suite 1225, 1100 Wayne Avenue, Silver Spring, MD 20910, USA Tel: +1-301-427-2450 Fax: +1-301-427-2073

duncombe commented 9 years ago

However, to return to Derrick's original complaint which was a nasty message from our ISP, it appears to have nothing to do with 'null' in the URL. This page, http://catalog.ioos.us/services/filter/, (no nulls) also produces a Warning page.

On Wed, Oct 1, 2014 at 1:17 PM, Christopher Duncombe Rae - NOAA Affiliate < christopher.duncombe.rae@noaa.gov> wrote:

Okay, maybe you're right. Can't get there now from links on catalog pages. Maybe that was a refresh issue?

On Wed, Oct 1, 2014 at 1:14 PM, Luke Campbell notifications@github.com wrote:

Can you describe the process by which you were able to go to a page with "null" in the URL?

Which buttons did you click and selections were selected in the filter boxes?

— Reply to this email directly or view it on GitHub https://github.com/ioos/catalog/issues/205#issuecomment-57501229.

Dr. Christopher M. Duncombe Rae c deirdre.byrne@noaa.gov hristopher.duncombe.rae@noaa.gov Oceanographer / Data Scientist IOOS/NOAA, Suite 1225, 1100 Wayne Avenue, Silver Spring, MD 20910, USA Tel: +1-301-427-2450 Fax: +1-301-427-2073

Dr. Christopher M. Duncombe Rae c deirdre.byrne@noaa.gov hristopher.duncombe.rae@noaa.gov Oceanographer / Data Scientist IOOS/NOAA, Suite 1225, 1100 Wayne Avenue, Silver Spring, MD 20910, USA Tel: +1-301-427-2450 Fax: +1-301-427-2073

lukecampbell commented 9 years ago

I was hoping it was as simple as removing null from it. Can someone please contact your IT department via that email and inquire as to what their issue is?

lukecampbell commented 9 years ago

I have some ideas:

If either of those are blocked by IT we have a winner. We can test this theory I suppose:

http://twitter.com http://infogr.am

If either of those result in a block, then that's likely the issue.

duncombe commented 9 years ago

Neither of those block.

On Wed, Oct 1, 2014 at 1:27 PM, Luke Campbell notifications@github.com wrote:

I have some ideas:

  • Cross domain references to infogr.am for the graphic we use for the glider days
  • Cross domain references to twitter as well for the news updates

If either of those are blocked by IT we have a winner. We can test this theory I suppose:

http://twitter.com http://infogr.am

If either of those result in a block, then that's likely the issue.

— Reply to this email directly or view it on GitHub https://github.com/ioos/catalog/issues/205#issuecomment-57503129.

Dr. Christopher M. Duncombe Rae c deirdre.byrne@noaa.gov hristopher.duncombe.rae@noaa.gov Oceanographer / Data Scientist IOOS/NOAA, Suite 1225, 1100 Wayne Avenue, Silver Spring, MD 20910, USA Tel: +1-301-427-2450 Fax: +1-301-427-2073

dpsnowden commented 9 years ago

I'll try to contact the ITSO but it won't be until tomorrow.

lukecampbell commented 9 years ago

I sent an email to the email address provided.

lukecampbell commented 9 years ago

Ok I got a response

Luke,

It's common for new sites to default to "Suspicious".  I have submitted it to be recategorized and will forward you the results when we get them back.

Thanks

--

------
IT Security Engineer II
NOAA ESS - Fairmont, WV
------

I removed the name and phone because it's a public forum.

lukecampbell commented 9 years ago
Luke,

I don't think the content is any issue here.  Bluecoat has a set of criteria for automatically categorizing new sites, and very often they default to "Suspicious".  I requested it to be analyzed by a person, so it should get re-categorized today or tomorrow.

Thanks
lukecampbell commented 9 years ago

Ok, this should be resolved now.

dpsnowden commented 9 years ago

The URL syntax still seems to be buggy. When I click the WMS button on the dashboard page it directs me to a partially modified URL http://catalog.ioos.us/services/filter/none/null which resolves to a catalog page with no content. If I then manually swithc to http://catalog.ioos.us/services/filter/none/none then the page loads correctly. So it looks like the link under the button needs to be fixed. I'm sure this happens in more than one place.

lukecampbell commented 9 years ago

So, when you click WMS on the dashboard, with nothing else selected it takes you to /filter/none/null ? I can't reproduce this. Can you tell me your OS and your browser?

dpsnowden commented 9 years ago

Sorry, I meant to say "All" not "WMS". The current URL is http://catalog.ioos.us/services/filter/ which seems to work.