Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow mixed case project URLs #701

Closed
LucaCinquini opened this issue Dec 12, 2013 · 10 comments
Closed

Allow mixed case project URLs #701

LucaCinquini opened this issue Dec 12, 2013 · 10 comments
Assignees
Milestone

Comments

@LucaCinquini
Copy link
Contributor

Who: Ryan

Request: allow a user to request a URL such as /projects/ESMPy/, in addition to the already working /projects/esmpy/

@ghost ghost assigned LucaCinquini and murphysj Dec 12, 2013
@LucaCinquini
Copy link
Contributor Author

Done and ready to test.

@murphysj
Copy link
Contributor

I am not sure how this is supposed to work.

I was able to make a project with a shortname=esmf when the original is shortname=ESMF

I was not able to make a project with a shortname=CoG when the original was shortname=cog

Did this get bounced off of Cecelia? I wonder if this is a good idea?

@LucaCinquini
Copy link
Contributor Author

Hi Sylvia,
this is not a case of having two projects with names that differ only by case, like "CoG" and "COG". Rather, it's a question of having one project like "ESMPy", but enable both URLs:
/projects/ESMPy/
/projects/esmpy/

@murphysj
Copy link
Contributor

How do I test this then? Did you enable something on the update project
page?

On Tue, Dec 17, 2013 at 8:46 AM, Luca Cinquini notifications@github.comwrote:

Hi Sylvia,
this is not a case of having two projects with names that differ only by
case, like "CoG" and "COG". Rather, it's a question of having one project
like "ESMPy", but enable both URLs:
/projects/ESMPy/
/projects/esmpy/


Reply to this email directly or view it on GitHubhttps://github.com//issues/701#issuecomment-30761784
.


Sylvia Murphy
NESII/CIRES/NOAA Earth System Research Laboratory
325 Broadway, Boulder CO 80305
Time Zone: U.S. Mountain
Web: http://www.esrl.noaa.gov/nesii/
Email: sylvia.murphy@noaa.gov
Phone: 303-497-7753

@LucaCinquini
Copy link
Contributor Author

I think you can just go to some project home page, then request the same URL with the project in a different case.
L

On Dec 17, 2013, at 7:55 AM, Sylvia Murphy wrote:

How do I test this then? Did you enable something on the update project
page?

On Tue, Dec 17, 2013 at 8:46 AM, Luca Cinquini <notifications@github.commailto:notifications@github.com>wrote:

Hi Sylvia,
this is not a case of having two projects with names that differ only by
case, like "CoG" and "COG". Rather, it's a question of having one project
like "ESMPy", but enable both URLs:
/projects/ESMPy/
/projects/esmpy/


Reply to this email directly or view it on GitHubhttps://github.com//issues/701#issuecomment-30761784
.


Sylvia Murphy
NESII/CIRES/NOAA Earth System Research Laboratory
325 Broadway, Boulder CO 80305
Time Zone: U.S. Mountain
Web: http://www.esrl.noaa.gov/nesii/
Email: sylvia.murphy@noaa.govmailto:sylvia.murphy@noaa.gov
Phone: 303-497-7753


Reply to this email directly or view it on GitHubhttps://github.com//issues/701#issuecomment-30762687.

@murphysj
Copy link
Contributor

Hi Luca,
FYI, I was able earlier to create a new project with a lower case ESMF when
the original was upper case.

How was this allowed?

It created a problem with the project browser that is trying to return two
projects.

On Tue, Dec 17, 2013 at 9:05 AM, Luca Cinquini notifications@github.comwrote:

I think you can just go to some project home page, then request the same
URL with the project in a different case.
L

On Dec 17, 2013, at 7:55 AM, Sylvia Murphy wrote:

How do I test this then? Did you enable something on the update project
page?

On Tue, Dec 17, 2013 at 8:46 AM, Luca Cinquini <notifications@github.com
mailto:notifications@github.com>wrote:

Hi Sylvia,
this is not a case of having two projects with names that differ only by
case, like "CoG" and "COG". Rather, it's a question of having one
project
like "ESMPy", but enable both URLs:
/projects/ESMPy/
/projects/esmpy/


Reply to this email directly or view it on GitHub<
https://github.com/EarthSystemCoG/COG/issues/701#issuecomment-30761784>
.


Sylvia Murphy
NESII/CIRES/NOAA Earth System Research Laboratory
325 Broadway, Boulder CO 80305
Time Zone: U.S. Mountain
Web: http://www.esrl.noaa.gov/nesii/
Email: sylvia.murphy@noaa.govmailto:sylvia.murphy@noaa.gov
Phone: 303-497-7753


Reply to this email directly or view it on GitHub<
https://github.com/EarthSystemCoG/COG/issues/701#issuecomment-30762687>.


Reply to this email directly or view it on GitHubhttps://github.com//issues/701#issuecomment-30763670
.


Sylvia Murphy
NESII/CIRES/NOAA Earth System Research Laboratory
325 Broadway, Boulder CO 80305
Time Zone: U.S. Mountain
Web: http://www.esrl.noaa.gov/nesii/
Email: sylvia.murphy@noaa.gov
Phone: 303-497-7753

@murphysj
Copy link
Contributor

This is really not enabling both URLs.. so that either /esmpy or /ESMPy show up, it is that if someone types both, they revert to the main URL.

So if I type /ESMPy it redirects correctly to /esmpy

You never see ESMPy.

Is that what you thought you did?

@LucaCinquini
Copy link
Contributor Author

Yes, this is what it needs to do - a simple redirect.
L

@LucaCinquini
Copy link
Contributor Author

I think we should NOT allow two project that differ only in case. Can you file a ticket to have this fixed, maybe for 2.1 ?
thanks, L

On Dec 17, 2013, at 9:17 AM, Sylvia Murphy wrote:

Hi Luca,
FYI, I was able earlier to create a new project with a lower case ESMF when
the original was upper case.

How was this allowed?

It created a problem with the project browser that is trying to return two
projects.

On Tue, Dec 17, 2013 at 9:05 AM, Luca Cinquini <notifications@github.commailto:notifications@github.com>wrote:

I think you can just go to some project home page, then request the same
URL with the project in a different case.
L

On Dec 17, 2013, at 7:55 AM, Sylvia Murphy wrote:

How do I test this then? Did you enable something on the update project
page?

On Tue, Dec 17, 2013 at 8:46 AM, Luca Cinquini <notifications@github.commailto:notifications@github.com
mailto:notifications@github.com>wrote:

Hi Sylvia,
this is not a case of having two projects with names that differ only by
case, like "CoG" and "COG". Rather, it's a question of having one
project
like "ESMPy", but enable both URLs:
/projects/ESMPy/
/projects/esmpy/


Reply to this email directly or view it on GitHub<
https://github.com/EarthSystemCoG/COG/issues/701#issuecomment-30761784>
.


Sylvia Murphy
NESII/CIRES/NOAA Earth System Research Laboratory
325 Broadway, Boulder CO 80305
Time Zone: U.S. Mountain
Web: http://www.esrl.noaa.gov/nesii/
Email: sylvia.murphy@noaa.govmailto:sylvia.murphy@noaa.gov
Phone: 303-497-7753


Reply to this email directly or view it on GitHub<
https://github.com/EarthSystemCoG/COG/issues/701#issuecomment-30762687>.


Reply to this email directly or view it on GitHubhttps://github.com//issues/701#issuecomment-30763670
.


Sylvia Murphy
NESII/CIRES/NOAA Earth System Research Laboratory
325 Broadway, Boulder CO 80305
Time Zone: U.S. Mountain
Web: http://www.esrl.noaa.gov/nesii/
Email: sylvia.murphy@noaa.govmailto:sylvia.murphy@noaa.gov
Phone: 303-497-7753


Reply to this email directly or view it on GitHubhttps://github.com//issues/701#issuecomment-30770527.

@murphysj
Copy link
Contributor

verified on dev-hydra

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants