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

AO3-6751 Fix "Relationships by Character" url for fandoms with periods #5061

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emilyw046
Copy link

Pull Request Checklist

Issue

https://otwarchive.atlassian.net/browse/AO3-6751

Purpose

Ensures period in the fandom tag page for fandoms with periods is properly escaped in the URL. Changed fandom_path(@tag.name) to fandom_path(@tag) in the app/views/tags/shot.html.erb file on line 32

Testing Instructions

  1. Go to https://archiveofourown.org/tags/Harry%20Potter%20-%20J*d*%20K*d*%20Rowling
  2. Follow the 'Relationship tags in this fandom' link,
  3. You should get a link that is properly escaped like this: https://archiveofourown.org/fandoms/Harry%20Potter%20-%20J*d*%20K*d*%20Rowling

Credit

Emily Wiegand (she/her)

@sarken
Copy link
Collaborator

sarken commented Feb 13, 2025

Hi, Emily!

Thank you so much for this pull request. It looks pretty good to me, although it would be a good idea to add a Cucumber test so we notice if this breaks again in the future.

In the meantime, I've updated the Jira issue status to In Review so no one will mistakenly create a duplicate pull request. If you'd like the ability to comment on, assign, and transition issues in the future, you're welcome to create a Jira account! You can just reply here with the account name and we'll set up the permissions for you. (It makes things a bit easier for us on the organizational side if the Full Name on your Jira account either closely matches the name you'd like us to credit in the release notes or includes it in parentheses, e.g. "Nickname (CREDIT NAME).")

Thanks again for contributing! If you have any questions, you can contact us at [email protected].

@emilyw046
Copy link
Author

Sure! I'll work on the Cucumber test soon. My Jira is under Emily Wiegand (email: [email protected]). Excited to contribute more!

@sarken
Copy link
Collaborator

sarken commented Feb 15, 2025

It looks like you're not showing up in our User Management section, but no worries -- this happens sometimes! I'll send an invitation to the email you provided, which usually fixes things.

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

Successfully merging this pull request may close these issues.

2 participants